Permalink
Browse files

win32: fix libtool: link: warning: undefined symbols not allowed in i…

…686-pc-mingw32 shared libraries

libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
libtool: link: ar cru .libs/libresourceplugin.a  .libs/resourceplugin.o .libs/plugin_resources.o
libtool: link: ranlib .libs/libresourceplugin.a
libtool: link: ( cd ".libs" && rm -f "libresourceplugin.la" && cp -p "../libresourceplugin.la" "libresourceplugin.la" )
  • Loading branch information...
1 parent 0edaa57 commit 796d31a205ef156c0880679029e584a8417e6073 @dieterv committed Oct 1, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 gio/tests/Makefile.am
View
@@ -434,6 +434,10 @@ test.gresource: test.gresource.xml Makefile $(shell $(glib_compile_resources) --
noinst_LTLIBRARIES = libresourceplugin.la
+if PLATFORM_WIN32
+no_undefined = -no-undefined
+endif
+
libresourceplugin_la_SOURCES = resourceplugin.c plugin_resources.c
libresourceplugin_la_LDFLAGS = -avoid-version -module $(no_undefined) -rpath $(libdir)
libresourceplugin_la_LIBADD = $(LDADD)

0 comments on commit 796d31a

Please sign in to comment.