From 6d6f71108064f5069edd7bf771059d3b82640135 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Sat, 7 Jul 2012 12:42:00 -0500 Subject: [PATCH] cygwin/mingw shared libs need libtool LDFLAGS = -no-undefined otherwise only static libs are created. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 16f32a60..6de56073 100644 --- a/Makefile.am +++ b/Makefile.am @@ -198,7 +198,7 @@ if FFI_DEBUG AM_CFLAGS += -DFFI_DEBUG 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_CCASFLAGS = $(AM_CPPFLAGS) -g