mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-10 23:01:59 +02:00
[setup] tweak included system libs on Linux
based on https://github.com/Ultimaker/cura-build/blob/master/packaging/setup_linux.py.in + add root "lib" folder to the LD_LIBRARY_PATH
This commit is contained in:
parent
4d19b388fd
commit
a05030f7fc
2 changed files with 68 additions and 7 deletions
|
@ -73,10 +73,12 @@ def setupEnvironment():
|
|||
qtPluginsDir = os.path.join(rootDir, "qtPlugins")
|
||||
sensorDBPath = os.path.join(aliceVisionShareDir, "cameraSensors.db")
|
||||
voctreePath = os.path.join(aliceVisionShareDir, "vlfeat_K80L3.tree")
|
||||
# Linux: "lib" contains shared libraries that needs to be in LD_LIBRARY_PATH
|
||||
libPath = os.path.join(rootDir, "lib")
|
||||
|
||||
env = {
|
||||
'PATH': aliceVisionBinDir,
|
||||
'LD_LIBRARY_PATH': aliceVisionBinDir,
|
||||
'LD_LIBRARY_PATH': [aliceVisionBinDir, libPath],
|
||||
'QT_PLUGIN_PATH': [qtPluginsDir],
|
||||
'QML2_IMPORT_PATH': [os.path.join(qtPluginsDir, "qml")]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue