]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libtextstyle: Improve the way the library is built.
authorBruno Haible <bruno@clisp.org>
Fri, 15 Feb 2019 23:23:10 +0000 (00:23 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 16 Feb 2019 00:12:59 +0000 (01:12 +0100)
* libtextstyle/lib/Makefile.am (libtextstyle_la_LDFLAGS): Add '-no-undefined',
needed for building on older versions of AIX and useful to verify no undefined
symbols are used by mistake. Add '-export-symbols', to reduce the loading time
of the shared library.

libtextstyle/lib/Makefile.am

index 29a8ab9547a1dff36b35341504784e4ee5a73da7..51df1c57a9f610003ba75d8f0106f532a5cf3d34 100644 (file)
@@ -260,6 +260,8 @@ LTV_AGE=0
 
 # How to build libtextstyle.la.
 libtextstyle_la_LDFLAGS += \
+  -no-undefined \
+  -export-symbols $(srcdir)/libtextstyle.sym \
   -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
   -rpath $(libdir)
 # Use the C++ compiler only when needed.