[PATCH setup 02/10] Prevent libtool warning that a getopt++ shared library cannot be built
Jon Turney
jon.turney@dronecode.org.uk
Tue Aug 2 15:31:00 GMT 2016
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
More information about the Cygwin-apps
mailing list