Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2174f80 commit d9cf41cCopy full SHA for d9cf41c
1 file changed
configure.in
@@ -221,10 +221,6 @@ DLLLIBRARY=''
221
# linking.
222
AC_SUBST(LINKCC)
223
AC_MSG_CHECKING(LINKCC)
224
-if test -z "$LINKCC" -a ! -z "$CXX"
225
-then
226
- LINKCC="$CXX"
227
-fi
228
if test -z "$LINKCC"
229
then
230
case $ac_sys_system in
@@ -647,7 +643,14 @@ AC_SUBST(CFLAGSFORSHARED)
647
643
AC_MSG_CHECKING(CFLAGSFORSHARED)
648
644
if test ! "$LIBRARY" = "$LDLIBRARY"
649
645
650
- CFLAGSFORSHARED='$(CCSHARED)'
646
+ case $ac_sys_system in
+ CYGWIN*)
+ # Cygwin needs CCSHARED when building extension DLLs
+ # but not when building the interpreter DLL.
+ CFLAGSFORSHARED='';;
651
+ *)
652
+ CFLAGSFORSHARED='$(CCSHARED)'
653
+ esac
654
fi
655
AC_MSG_RESULT($CFLAGSFORSHARED)
656
0 commit comments