|
@@ -530,7 +530,12 @@ def initHost(initName, libPrefix = None, failError = True): |
|
|
gCarla.pathBinaries = os.path.join(libPrefix, "lib", "carla") |
|
|
gCarla.pathBinaries = os.path.join(libPrefix, "lib", "carla") |
|
|
|
|
|
|
|
|
elif CWDl.endswith("resources"): |
|
|
elif CWDl.endswith("resources"): |
|
|
gCarla.pathBinaries = os.path.abspath(os.path.join(CWD, "..")) |
|
|
|
|
|
|
|
|
if CWDl.endswith("native-plugins%sresources" % os.sep): |
|
|
|
|
|
gCarla.pathBinaries = os.path.abspath(os.path.join(CWD, "..", "..", "..", "..", "bin")) |
|
|
|
|
|
elif "carla-native.lv2" in sys.argv[0]: |
|
|
|
|
|
gCarla.pathBinaries = os.path.abspath(os.path.join(CWD, "..", "..", "..", "lib", "lv2", "carla-native.lv2")) |
|
|
|
|
|
else: |
|
|
|
|
|
gCarla.pathBinaries = os.path.abspath(os.path.join(CWD, "..")) |
|
|
|
|
|
|
|
|
elif CWDl.endswith("source"): |
|
|
elif CWDl.endswith("source"): |
|
|
gCarla.pathBinaries = os.path.abspath(os.path.join(CWD, "..", "bin")) |
|
|
gCarla.pathBinaries = os.path.abspath(os.path.join(CWD, "..", "bin")) |
|
|