aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2010-12-07 13:38:15 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2010-12-07 13:38:15 +0000
commit8b4573f70515e6f03a700c0097582c17a987cea8 (patch)
treeb4713a77e65d554d3a2ef994f32fa9e96ba5c905 /wsutil
parentbd8c1e7a3a9ec12426a3db25dcfe108ce9208ad9 (diff)
Make libtool export only symbols listed in *.def files
svn path=/trunk/; revision=35145
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am
index 9b00cee8d4..e17c488e34 100644
--- a/wsutil/Makefile.am
+++ b/wsutil/Makefile.am
@@ -22,6 +22,8 @@
ACLOCAL_AMFLAGS = `../aclocal-flags`
+include ../Makefile.am.inc
+
include Makefile.common
if HAVE_WARNINGS_AS_ERRORS
@@ -40,7 +42,7 @@ wsutil_optional_objects = \
@STRPTIME_LO@
lib_LTLIBRARIES = libwsutil.la
-libwsutil_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@
+libwsutil_la_LDFLAGS = -version-info 0:0:0 -export-symbols libwsutil.sym @LDFLAGS_SHAREDLIB@
INCLUDES = -I$(srcdir)/..
@@ -63,7 +65,8 @@ EXTRA_libwsutil_la_SOURCES= \
wsgetopt.h
libwsutil_la_DEPENDENCIES= \
- $(wsutil_optional_objects)
+ $(wsutil_optional_objects) \
+ libwsutil.sym
libwsutil_la_LIBADD = \
@GLIB_LIBS@ \
@@ -81,6 +84,7 @@ EXTRA_DIST = \
CLEANFILES = \
libwsutil.a \
libwsutil.la \
+ libwsutil.sym \
*~
MAINTAINERCLEANFILES = \