glib/gmodule
Ryan Lortie 5d42fdd068 visibility: Use a separate CFLAGS variable
We only want to control the default visibility for our five main
installable libraries: libglib, libgthread, libgmodule, libgobject,
libgio.  We should therefore only set -fvisibility=hidden when building
those.

Use a separate substitution variable for this purpose.

Using CFLAGS directly leads to some modules built in testcases not
exporting their symbols (and then the tests fail).  It also affects the
fam file monitoring module.

Colin had originally done it this way in his visibility patch series but
I failed to understand why so I didn't copy it.  Now I do.

Also: revert changes made to two testcases in an attempt to work around
this issue.

https://bugzilla.gnome.org/show_bug.cgi?id=691756
2013-01-14 23:31:59 -05:00
..
.gitignore improve gitignore 2010-01-28 22:43:51 -05:00
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
ChangeLog Update README files to refer to git 2009-03-31 19:39:16 -04:00
COPYING initial import of gmodule. 1998-08-09 08:32:18 +00:00
gmodule-ar.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-beos.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-dl.c Revert "Fix compilation on Android with the bionic C library" 2012-11-28 16:55:12 +01:00
gmodule-dld.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-dyld.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-os2.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-win32.c Recuce DLL hijack risk on Windows 2010-09-02 22:36:47 +03:00
gmodule.c Fix GModule documentation a bit 2012-07-13 17:37:37 -04:00
gmodule.h various: add GLIB_AVAILABLE_IN_ALL everywhere else 2013-01-13 13:11:57 -05:00
gmodule.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
gmodule.symbols New file. 2008-07-27 17:35:46 +00:00
gmoduleconf.h.in Set the gmodule suffix to 'a' for aix and use the aix gmodule 2004-02-22 01:31:24 +00:00
gmoduleconf.h.win32 Update. Don't mention pthreads. 2001-09-04 05:09:35 +00:00
Makefile.am visibility: Use a separate CFLAGS variable 2013-01-14 23:31:59 -05:00
makefile.msc.in adapt to gmodule.symbols usage 2008-08-01 14:17:43 +00:00