blob: 31b269a41a9ecc415256304c5f34dd36e64735cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -Naur old/configure.in new/configure.in
--- old/configure.in 2013-08-18 22:24:25.049973054 +1200
+++ new/configure.in 2013-08-23 15:58:24.552240546 +1200
@@ -3101,11 +3101,13 @@
then
SAVE_CFLAGS="$CFLAGS"
SAVE_LDFLAGS="$LDFLAGS"
+ SAVE_LIBS="$LIBS"
dnl ARCHFLAGS="" -> disable multi -arch on OSX (see Config_heavy.pl:fetch_string)
PERL_CFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ccopts`
PERL_LDFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ldopts`
CFLAGS="$CFLAGS $PERL_CFLAGS"
LDFLAGS="$LDFLAGS $PERL_LDFLAGS"
+ LIBS="$LIBS -L/usr/lib/perl5/core_perl/CORE -lperl $PERL_LDFLAGS"
AC_CACHE_CHECK([for libperl],
[c_cv_have_libperl],
@@ -3124,7 +3126,10 @@
]]]
)],
[c_cv_have_libperl="yes"],
- [c_cv_have_libperl="no"]
+ [
+ c_cv_have_libperl="no"
+ LIBS="$SAVE_LIBS"
+ ]
)
)
|