mirror of https://gerrit.osmocom.org/libosmocore
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.
This commit is contained in:
parent
ed8170ac67
commit
45cdaa095a
|
@ -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
|
||||
|
|
|
@ -7,4 +7,4 @@ AM_CFLAGS = -Wall $(all_includes) -I$(top_srcdir)/include
|
|||
lib_LTLIBRARIES = libosmocodec.la
|
||||
|
||||
libosmocodec_la_SOURCES = gsm610.c gsm620.c gsm660.c gsm690.c
|
||||
libosmocodec_la_LDFLAGS = -version-info $(LIBVERSION)
|
||||
libosmocodec_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
|
||||
|
|
|
@ -20,7 +20,7 @@ libosmogsm_la_SOURCES = a5.c rxlev_stat.c tlv_parser.c comp128.c gsm_utils.c \
|
|||
milenage/aes-encblock.c milenage/aes-internal.c \
|
||||
milenage/aes-internal-enc.c milenage/milenage.c gan.c
|
||||
|
||||
libosmogsm_la_LDFLAGS = $(LTLDFLAGS_OSMOGSM) -version-info $(LIBVERSION)
|
||||
libosmogsm_la_LDFLAGS = $(LTLDFLAGS_OSMOGSM) -version-info $(LIBVERSION) -no-undefined
|
||||
libosmogsm_la_LIBADD = $(top_builddir)/src/libosmocore.la
|
||||
|
||||
EXTRA_DIST = libosmogsm.map
|
||||
|
|
|
@ -9,6 +9,6 @@ lib_LTLIBRARIES = libosmovty.la
|
|||
|
||||
libosmovty_la_SOURCES = buffer.c command.c vty.c vector.c utils.c \
|
||||
telnet_interface.c logging_vty.c
|
||||
libosmovty_la_LDFLAGS = -version-info $(LIBVERSION)
|
||||
libosmovty_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
|
||||
libosmovty_la_LIBADD = $(top_builddir)/src/libosmocore.la
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue