SHA256
1
0
forked from pool/mono-core
mono-core/mono-libtool.diff

12 lines
457 B
Diff
Raw Normal View History

--- configure.in
+++ configure.in
@@ -44,7 +44,7 @@ libmono_cflags=""
libmono_ldflags=""
AC_SUBST(libmono_cflags)
AC_SUBST(libmono_ldflags)
-export_ldflags=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+export_ldflags=`(if test -x libtool; then ./libtool --config; then libtool --config; fi; echo eval echo \\$export_dynamic_flag_spec) | sh`
AC_SUBST(export_ldflags)
# Variable to have relocatable .pc files (lib, or lib64)