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

swig -swiglib returns multiple paths #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamores
Copy link

@jamores jamores commented Jan 15, 2020

When trying to build python-bindings under windows, using MSYS2, mutliple paths were returned when populating SWIG_LIB by swig -swiglib, breaking MAKEFILE generation in the process as SWIG_LIB was written incorrectly:

SWIG_LIB=<first_path>
<second_path>

Adding tail -1, just the last path is preserved and SWIG_LIB is written properly @ generated MAKEFILE.
Not sure if this is the best solution as I'm no autotools expert.

@simark
Copy link
Contributor

simark commented Feb 14, 2020

Hi @jamores,

The file you modified is maintained in the autoconf archive, and we merely copy it in our repository. Please send a patch to them, they will help you find a proper solution for your problem. Once a fix is merged in the autoconf archive repo, then we can sync our copy of the file with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants