зеркало из https://github.com/nextcloud/desktop.git
Fix rpath for libraries
This commit is contained in:
Родитель
78d50f4033
Коммит
171fd22d91
|
@ -283,7 +283,7 @@ def FindSystemLibrary(library_name):
|
|||
def FixLibraryInstallPath(library_path, library):
|
||||
system_library = FindSystemLibrary(os.path.basename(library_path))
|
||||
if system_library is None:
|
||||
new_path = '@executable_path/../Frameworks/%s' % os.path.basename(library_path)
|
||||
new_path = '@executable_path/../MacOS/%s' % os.path.basename(library_path)
|
||||
FixInstallPath(library_path, library, new_path)
|
||||
else:
|
||||
FixInstallPath(library_path, library, system_library)
|
||||
|
|
Загрузка…
Ссылка в новой задаче