Sfoglia il codice sorgente

2004-12-18 Zoltan Varga <[email protected]>

	* Makefile.am (libtest_la_LDFLAGS): Add -no-undefined so a windows dll is built on windows.

svn path=/trunk/mono/; revision=37915
Zoltan Varga 21 anni fa
parent
commit
fd697b4af3
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 4 0
      mono/tests/ChangeLog
  2. 4 0
      mono/tests/Makefile.am

+ 4 - 0
mono/tests/ChangeLog

@@ -1,3 +1,7 @@
+2004-12-18  Zoltan Varga  <[email protected]>
+
+	* Makefile.am (libtest_la_LDFLAGS): Add -no-undefined so a windows dll is built on windows.
+
 2004-12-15  Patrik Torstensson  <[email protected]>
 
 	* interlocked.cs: New test.

+ 4 - 0
mono/tests/Makefile.am

@@ -329,7 +329,11 @@ noinst_LTLIBRARIES = libtest.la
 
 INCLUDES = $(GLIB_CFLAGS)
 
+if PLATFORM_WIN32
+libtest_la_LDFLAGS=-no-undefined -rpath `pwd`
+else
 libtest_la_LDFLAGS = -rpath `pwd`
+endif
 libtest_la_SOURCES = libtest.c
 libtest_la_LIBADD = $(GLIB_LIBS)