This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup 02/10] Prevent libtool warning that a getopt++ shared library cannot be built
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Date: Tue, 2 Aug 2016 16:30:29 +0100
- Subject: [PATCH setup 02/10] Prevent libtool warning that a getopt++ shared library cannot be built
- Authentication-results: sourceware.org; auth=none
- References: <20160802153037.125216-1-jon.turney@dronecode.org.uk>
libtool: warning: undefined symbols not allowed in i686-w64-mingw32 shared libraries; building static only
---
libgetopt++/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libgetopt++/Makefile.am b/libgetopt++/Makefile.am
index f820d71..34dc6fd 100644
--- a/libgetopt++/Makefile.am
+++ b/libgetopt++/Makefile.am
@@ -28,7 +28,7 @@ libgetopt___la_SOURCES = src/GetOption.cc src/Option.cc src/BoolOption.cc \
src/OptionSet.cc \
src/StringArrayOption.cc src/StringOption.cc
-libgetopt___la_LDFLAGS = -version-info 1:1:0
+libgetopt___la_LDFLAGS = -version-info 1:1:0 -no-undefined
getoptinclude_HEADERS = include/getopt++/Option.h \
include/getopt++/BoolOption.h \
@@ -49,4 +49,3 @@ tests_BoolOptionTest_LDADD = libgetopt++.la
tests_OptionSet_SOURCES = tests/OptionSet.cc
tests_OptionSet_LDADD = libgetopt++.la
-
--
2.8.3