cygwin/mingw shared libs need libtool LDFLAGS = -no-undefined
otherwise only static libs are created.
This commit is contained in:
@@ -198,7 +198,7 @@ if FFI_DEBUG
|
|||||||
AM_CFLAGS += -DFFI_DEBUG
|
AM_CFLAGS += -DFFI_DEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
|
libffi_la_LDFLAGS = -no-undefined -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
|
||||||
|
|
||||||
AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src -DFFI_BUILDING
|
AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src -DFFI_BUILDING
|
||||||
AM_CCASFLAGS = $(AM_CPPFLAGS) -g
|
AM_CCASFLAGS = $(AM_CPPFLAGS) -g
|
||||||
|
|||||||
Reference in New Issue
Block a user