diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-07-07 18:04:14 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-08-15 10:00:38 +0800 |
commit | d281b07c4aba18d30c4365ef3cba2df85ac4ab6f (patch) | |
tree | 7a1d0d578ed76b98824c5374a03e717b12691098 /tests | |
parent | eab36c0001e22c0ee66246ae9a0b8018b2325c96 (diff) | |
download | gobject-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')
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/offsets/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8bcf74ee..adeba760 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,7 +6,7 @@ EXTRA_DIST= BUILT_SOURCES= CLEANFILES= -AM_CFLAGS = $(GOBJECT_CFLAGS) +AM_CFLAGS = $(GOBJECT_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS) LIBADD = $(GOBJECT_LIBS) testsdir = $(datadir)/gobject-introspection-1.0/tests 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) |