Commit e98b0cdf authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Add '-no-undefined' for Cygwin and MinGW. Change order of link command to

2007-10-19  Juerg Billeter  <j@bitron.ch>

	* gobject/Makefile.am (libvala_la_LDFLAGS): Add '-no-undefined' for
	  Cygwin and MinGW.
	* tests/testrunner.sh: Change order of link command to fix linking on
	  Cygwin, MinGW, and on Linux with -Wl,--as-needed.
	* vapigen/Makefile.am (INCLUDES): Fix VPATH build.

	Patch by Yaakov Selkowitz, fixes bug 486124

svn path=/trunk/; revision=654
parent 861a4992
2007-10-19 Jürg Billeter <j@bitron.ch>
* gobject/Makefile.am (libvala_la_LDFLAGS): Add '-no-undefined' for
Cygwin and MinGW.
* tests/testrunner.sh: Change order of link command to fix linking on
Cygwin, MinGW, and on Linux with -Wl,--as-needed.
* vapigen/Makefile.am (INCLUDES): Fix VPATH build.
Patch by Yaakov Selkowitz, fixes bug 486124
2007-10-16 Jürg Billeter <j@bitron.ch>
* vapi/packages/poppler-glib/poppler-glib.gidl, vapi/poppler-glib.vapi:
......
......@@ -108,6 +108,8 @@ gobject.vapi gobject.vala.stamp: $(filter %.vala,$(libvala_la_SOURCES))
$(VALAC) --vapidir $(srcdir)/../vapi --vapidir ../gee --pkg gee --vapidir ../ccode --pkg ccode --vapidir ../vala --pkg vala --basedir $(top_srcdir) --library gobject $^
touch $@
libvala_la_LDFLAGS = -no-undefined
libvala_la_LIBADD = \
$(GLIB_LIBS) \
../vala/libvalacore.la \
......
......@@ -44,7 +44,7 @@ do
CODE=1
continue
fi
if ! $CC $CFLAGS $(pkg-config --cflags --libs gobject-2.0) -o $testbuild $testbuild.c $LDLIBS > $testbuild.err 2>&1
if ! $CC $CFLAGS $testbuild.c $(pkg-config --cflags --libs gobject-2.0) -o $testbuild $LDLIBS > $testbuild.err 2>&1
then
CODE=1
continue
......
......@@ -6,7 +6,8 @@ SUBDIRS = \
INCLUDES = \
$(GLIB_CFLAGS) \
-I ../gobject-introspection \
-I$(top_srcdir) \
-I$(top_srcdir)/gobject-introspection \
$(NULL)
bin_PROGRAMS = \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment