swig/4.0.2: Replace get_exe_path by something that works on both Ubuntu and macOS#8675
Merged
conan-center-bot merged 2 commits intoconan-io:masterfrom Jan 15, 2022
Merged
Conversation
Contributor
Author
|
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 |
14 tasks
This comment has been minimized.
This comment has been minimized.
Contributor
|
@jmarrec you have to link with |
fa0ecae to
52247b9
Compare
Contributor
Author
|
@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. |
jmarrec
commented
Jan 12, 2022
Comment on lines
+89
to
+90
| if self.settings.compiler == 'gcc': | ||
| args.append("LIBS=-ldl") |
Contributor
SSE4
approved these changes
Jan 12, 2022
uilianries
approved these changes
Jan 14, 2022
prince-chrismc
approved these changes
Jan 15, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
conan-center hook activated.