-
Notifications
You must be signed in to change notification settings - Fork 101
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
Make pkg-config files relocatable post-installation #1346
Make pkg-config files relocatable post-installation #1346
Conversation
Add tests please, for example like in #1105 |
b9a9965
to
f7eadaf
Compare
f7eadaf
to
043ed45
Compare
I don't know how to finalize the test, this will not pass. I would appreciate some help here. |
Timeout looks unrelated, as it passes the added tests: https://dev.azure.com/JuliaPackaging/BinaryBuilder.jl/_build/results?buildId=24640&view=logs&j=54759826-d195-5ca2-1571-21806663cd36&t=9eb882d6-5a34-5e37-1506-d0b4bf16214f&l=2534
|
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.
Thanks for pushing this!
@test "lib/pkgconfig/libfoo.pc" in contents | ||
libfoo_pc = read(joinpath(testdir, "lib/pkgconfig/libfoo.pc"), String) | ||
@test contains(libfoo_pc, "prefix=\${pcfiledir}") | ||
@test !contains(libfoo_pc, "/workplace/destdir") |
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.
🎉
Co-authored-by: Mosè Giordano <[email protected]>
Thanks for completing this! |
Fixes #1338, but I haven't tested this.
Ping @giordano.