mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
add qmake rpath for linux build
This commit is contained in:
parent
7555502d64
commit
f45099b398
@ -21,7 +21,7 @@ cp -v /usr/lib/x86_64-linux-gnu/libQt5XmlPatterns.so.5 $TARGET/libs
|
|||||||
# Create start script
|
# Create start script
|
||||||
cat > $TARGET/start-gui.sh <<EOL
|
cat > $TARGET/start-gui.sh <<EOL
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export LD_LIBRARY_PATH=\`pwd\`/libs
|
# export LD_LIBRARY_PATH=\`pwd\`/libs
|
||||||
export QT_PLUGIN_PATH=\`pwd\`/plugins
|
export QT_PLUGIN_PATH=\`pwd\`/plugins
|
||||||
export QML2_IMPORT_PATH=\`pwd\`/qml
|
export QML2_IMPORT_PATH=\`pwd\`/qml
|
||||||
./$GUI_EXEC
|
./$GUI_EXEC
|
||||||
|
@ -151,6 +151,11 @@ linux {
|
|||||||
message(Building with libunwind)
|
message(Building with libunwind)
|
||||||
LIBS += -Wl,-Bdynamic -lunwind
|
LIBS += -Wl,-Bdynamic -lunwind
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QMAKE_LFLAGS_RPATH=
|
||||||
|
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/libs\'"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
|
Loading…
Reference in New Issue
Block a user