summaryrefslogtreecommitdiff
path: root/tests/offsets
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-07-07 18:04:14 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-08-15 10:00:38 +0800
commitd281b07c4aba18d30c4365ef3cba2df85ac4ab6f (patch)
tree7a1d0d578ed76b98824c5374a03e717b12691098 /tests/offsets
parenteab36c0001e22c0ee66246ae9a0b8018b2325c96 (diff)
downloadgobject-introspection-d281b07c4aba18d30c4365ef3cba2df85ac4ab6f.tar.gz
build: Export Symbols Using Compiler Directives
Use compiler directives for exporting symbols for the build of libgirepository and also for the test libraries, like what is now done in GLib and GTK+ so that maintaining a separate .symbols (and .def files) would not be needed, in which the correct compiler directive is determined during configure time. Drop all the .def files and the .symbols file as we would not be using them anymore. https://bugzilla.gnome.org/show_bug.cgi?id=732669
Diffstat (limited to 'tests/offsets')
-rw-r--r--tests/offsets/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/offsets/Makefile.am b/tests/offsets/Makefile.am
index a3ec78b1..9608ad06 100644
--- a/tests/offsets/Makefile.am
+++ b/tests/offsets/Makefile.am
@@ -16,7 +16,7 @@ EXTRA_LTLIBRARIES += liboffsets.la
liboffsets_la_SOURCES = \
offsets.h \
offsets.c
-liboffsets_la_CPPFLAGS = $(GIREPO_CFLAGS)
+liboffsets_la_CPPFLAGS = $(GIREPO_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS)
# dummy rpath to get built dynamically (huh?)
liboffsets_la_LDFLAGS = -avoid-version -rpath $(libdir)