forked from pool/mono-core
12 lines
457 B
Diff
12 lines
457 B
Diff
|
--- 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)
|