Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Fix three minor issues in ``configure.ac`` for the Cygwin port: use
consistent uppercase ``CYGWIN`` for ``ac_sys_system``, correct the static
library extension from ``.dll.a`` to ``.a`` when shared is disabled, and use
``$(CC)``/``$(CXX)`` instead of hardcoded ``gcc``/``g++``.
8 changes: 4 additions & 4 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ then
ac_sys_system=Linux
;;
*-*-cygwin*)
ac_sys_system=Cygwin
ac_sys_system=CYGWIN
;;
*-apple-ios*)
ac_sys_system=iOS
Expand Down Expand Up @@ -1650,7 +1650,7 @@ else # shared is disabled
case $ac_sys_system in
CYGWIN*)
BLDLIBRARY='$(LIBRARY)'
LDLIBRARY='libpython$(LDVERSION).dll.a'
LDLIBRARY='libpython$(LDVERSION).a'
;;
esac
fi
Expand Down Expand Up @@ -3694,8 +3694,8 @@ then
dnl not implemented yet
]);;
CYGWIN*)
LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
LDSHARED="$(CC) -shared -Wl,--enable-auto-image-base"
LDCXXSHARED="$(CXX) -shared -Wl,--enable-auto-image-base";;
*) LDSHARED="ld";;
esac
fi
Expand Down
Loading