Try this
authorMiguel de Icaza <miguel@gnome.org>
Sat, 5 Jun 2004 03:10:24 +0000 (03:10 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 5 Jun 2004 03:10:24 +0000 (03:10 -0000)
svn path=/trunk/mono/; revision=28855

mono/mini/Makefile.am

index 5c0d22a30127861659e968a151928b0c4fb410d6..7b73ed290fbe28943ce7ef790c3ec3278c80522f 100644 (file)
@@ -52,9 +52,14 @@ mono_LDADD = \
        $(GMODULE_LIBS) -lm     \
        $(ICU_LIBS)
 
+if X86
+static_flags = -static libmono.la
+else
+static_flags = 
+endif
+
 mono_LDFLAGS = \
-       -static libmono.la      \
-       -export-dynamic
+       $(static_flags) -export-dynamic
 
 genmdesc_SOURCES = \
        mini.h          \