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

let's make rpath great again #90

Open
jeromecc opened this issue Apr 15, 2017 · 0 comments
Open

let's make rpath great again #90

jeromecc opened this issue Apr 15, 2017 · 0 comments
Assignees

Comments

@jeromecc
Copy link
Contributor

libs/rpath.pri:
do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var

Not possible? Yes it is:
unix:{
# suppress the default RPATH if you wish
QMAKE_LFLAGS_RPATH=
# add your own with quoting gyrations to make sure $ORIGIN gets to the command line unexpanded
QMAKE_LFLAGS += "-Wl,-rpath,'$$ORIGIN'"
}
Source: http://stackoverflow.com/questions/27384406/setting-rpath-order-in-qmake

Let's make linking and rpath great again!

This causes bugs when trying to build FreeRx (Freediams) in debug mode on Linux. Which is not practical because that's where development happens.

@jeromecc jeromecc self-assigned this Apr 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant