-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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/4.0.2: Replace get_exe_path by something that works on both Ubuntu and macOS #8675
Conversation
Locally on mac I built it. Then I move it somewhere else, now the swiglib is correctly set (before it would still point to the original package dir) cd conan-center-index/recipes/swig/all
conan create . swig/4.0.2@ -b missing
[...]
Configuration:
[settings]
arch=armv8
arch_build=armv8
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=13.0
os=Macos
os_build=Macos
[options]
[build_requires]
[env]
[...]
cd ~/Downloads && mkdir -p Temp && cd Temp
cp -R /Users/julien/.conan/data/swig/4.0.2/_/_/package/f230c9ff93e75f7f31a9ddd287cf970e1e2303b0/ .
./bin/swig -swiglib
=> /Users/julien/Downloads/temp/bin/swig/swiglib |
This comment has been minimized.
This comment has been minimized.
@jmarrec you have to link with
|
fa0ecae
to
52247b9
Compare
@SSE4 You commented pretty much at the same time as I pushed a commit to link to DL. I used the LIBS env variable that is read by swig's configure script, I hope that's ok. |
if self.settings.compiler == 'gcc': | ||
args.append("LIBS=-ldl") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need libdl
conan-center hook activated.