Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GAP on Cygwin with libtool removed #979

Merged
merged 1 commit into from
Jan 23, 2024
Merged
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
7 changes: 4 additions & 3 deletions GNUmakefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ bin/include/libsemigroups/libsemigroups.hpp:
$(MAKE) -C libsemigroups install
# Cygwin only looks for DLLs in the same directory as the executable
# resides in. The following achieves that assuming that the GAP
# being used was self-compiled by the user. If the GAP build system
# changes to stop using GNU libtool, this will have to be adjusted.
if test -f bin/bin/cygsemigroups*.dll ; then cp bin/bin/cygsemigroups*.dll $(GAPPATH)/.libs ; fi
# being used was self-compiled by the user. This supports
# both older GAPs with libtool (first) and GAP without libtool (second)
if test -f bin/bin/cygsemigroups*.dll ; then if test -d $(GAPPATH)/.libs; then cp bin/bin/cygsemigroups*.dll $(GAPPATH)/.libs/ ; fi ; fi
if test -f bin/bin/cygsemigroups*.dll ; then cp bin/bin/cygsemigroups*.dll $(GAPPATH)/ ; fi

endif

Expand Down
Loading