mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 13:02:13 +01:00
c: supports DLL generation by MinGW
libtool requires -no-undefined link option to generate a DLL by MinGW. A DLL should not have any unresolved symbols and -no-undefined link option declares that the library doesn't depends on any libraries other than the ones listed on the command line. See also: description about -no-undefined option at http://www.gnu.org/software/libtool/manual/libtool.html#Link-mode
This commit is contained in:
parent
8786a8e6e0
commit
0d615442ba
@ -20,7 +20,7 @@ endif
|
|||||||
|
|
||||||
|
|
||||||
# -version-info CURRENT:REVISION:AGE
|
# -version-info CURRENT:REVISION:AGE
|
||||||
libmsgpack_la_LDFLAGS = -version-info 3:0:0
|
libmsgpack_la_LDFLAGS = -version-info 3:0:0 -no-undefined
|
||||||
|
|
||||||
|
|
||||||
# backward compatibility
|
# backward compatibility
|
||||||
@ -33,7 +33,7 @@ libmsgpackc_la_SOURCES = \
|
|||||||
vrefbuffer.c \
|
vrefbuffer.c \
|
||||||
zone.c
|
zone.c
|
||||||
|
|
||||||
libmsgpackc_la_LDFLAGS = -version-info 2:0:0
|
libmsgpackc_la_LDFLAGS = -version-info 2:0:0 -no-undefined
|
||||||
|
|
||||||
|
|
||||||
nobase_include_HEADERS = \
|
nobase_include_HEADERS = \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user