From e14ed01dd0d4966d1a906486dbd01d577a27634f Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Thu, 25 Aug 2011 06:59:22 +0000 Subject: [PATCH] Add -no-undefined for win32 build --- src/plugins/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index e67c7c6..502bb26 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -1,6 +1,6 @@ AM_CFLAGS = -Wall --std=gnu99 $(GRITS_CFLAGS) AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib -AM_LDFLAGS = -shared -module -avoid-version -Wl,-as-needed +AM_LDFLAGS = -shared -module -avoid-version -Wl,--as-needed LIBS = $(GRITS_LIBS) pluginsdir = $(pkglibdir) @@ -23,6 +23,7 @@ radar_la_LIBADD = $(RSL_LIBS) $(GRITS_LIBS) \ endif if WIN32 +AM_LDFLAGS += -no-undefined dots = .. endif -- 2.41.0