Kaydet (Commit) fd652012 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

sb140: #i117079# @executable_path -> @loader_path hack missed some instances

üst 315e6ca2
......@@ -350,7 +350,14 @@ $(MISC)$/build$/so_moz_runtime_files: $(OUT)$/bin$/mozruntime.zip
.IF "$(OS)"=="MACOSX"
$(PERL) $(SOLARENV)$/bin$/macosx-change-install-names.pl extshl OOO \
$(RUNTIME_DIR)$/*$(DLLPOST)
# A crude hack to adapt all the install names in the components subdir:
# A crude hack to adapt all the absolute ("@executable_path") dependencies to
# relative ("@loader_path") ones:
$(foreach,file,$(shell ls $(RUNTIME_DIR)$/components$/*$(DLLPOST)) \
install_name_tool \
-change @executable_path/libnspr4.dylib @loader_path/libnspr4.dylib \
-change @executable_path/libplc4.dylib @loader_path/libplc4.dylib \
-change @executable_path/libplds4.dylib @loader_path/libplds4.dylib \
$(file) &&) true
$(foreach,file,$(shell ls $(RUNTIME_DIR)$/components$/*$(DLLPOST)) \
install_name_tool \
-change @executable_path/libldap50.dylib \
......@@ -373,6 +380,8 @@ $(MISC)$/build$/so_moz_runtime_files: $(OUT)$/bin$/mozruntime.zip
-change @executable_path/libxpcom.dylib @loader_path/../libxpcom.dylib \
-change @executable_path/libxpcom_compat.dylib \
@loader_path/../libxpcom_compat.dylib \
-change @executable_path/libxpcom_core.dylib \
@loader_path/../libxpcom_core.dylib \
$(file) &&) true
.ENDIF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment