From 45cdaa095a0e2fe9558de682e1c12229dfab9adc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 3 Mar 2013 10:07:16 +0100 Subject: cygwin: Link many libraries with -no-undefined to create a dll Only the Gb library relies on having undefined references to a symbol that needs to be provided by the host application. For all other libraries we can link with -no-undefined. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 081be966..e85f3e30 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,9 +18,9 @@ BUILT_SOURCES = crc8gen.c crc16gen.c crc32gen.c crc64gen.c if ENABLE_PLUGIN libosmocore_la_SOURCES += plugin.c -libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) $(LIBRARY_DL) +libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) $(LIBRARY_DL) -no-undefined else -libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) +libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined endif if ENABLE_TALLOC -- cgit v1.2.3