[libgsystem] build: Allow callers to control whether or not we are installed
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsystem] build: Allow callers to control whether or not we are installed
- Date: Thu, 29 Nov 2012 23:17:10 +0000 (UTC)
commit 6956ab38077c65ffda21c30bcc4adee2d4826146
Author: Colin Walters <walters verbum org>
Date: Thu Nov 29 17:58:35 2012 -0500
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.
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]