diff options
author | Colin Walters <walters@verbum.org> | 2012-11-29 17:58:35 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-11-29 18:13:16 -0500 |
commit | 6956ab38077c65ffda21c30bcc4adee2d4826146 (patch) | |
tree | 78c2c5ce930b0b80994e5d5c1219244260208100 /Makefile-libgsystem.am | |
parent | 82c4b585f374d094c9f5a5428585f879e7397b3d (diff) | |
download | libgsystem-6956ab38077c65ffda21c30bcc4adee2d4826146.tar.gz |
build: Allow callers to control whether or not we are installed
And add some more flags to help with that, ensure we're not leaking
symbols, etc.
This will require static users to add noinst_LTLIBRARIES += libgsystem.la
to their Makefiles.
Diffstat (limited to 'Makefile-libgsystem.am')
-rw-r--r-- | Makefile-libgsystem.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile-libgsystem.am b/Makefile-libgsystem.am index 6d368cc..3e38f78 100644 --- a/Makefile-libgsystem.am +++ b/Makefile-libgsystem.am @@ -15,8 +15,6 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -noinst_LTLIBRARIES += libgsystem.la - EXTRA_DIST += $(libgsystem_srcpath)/README $(libgsystem_srcpath)/COPYING libgsystem_la_SOURCES = \ @@ -28,6 +26,6 @@ libgsystem_la_SOURCES = \ $(libgsystem_srcpath)/gsystem-shutil.c \ $(libgsystem_srcpath)/libgsystem.h \ $(NULL) - libgsystem_la_CFLAGS = $(AM_CFLAGS) $(libgsystem_cflags) +libgsystem_la_LDFLAGS = -avoid-version -Bsymbolic-functions -export-symbols-regex "^gs_" -no-undefined -export-dynamic libgsystem_la_LIBADD = $(libgsystem_libs) |