[vlc-commits] macOS: Use absolute paths for symlinks in pseudo-bundle

Marvin Scholz git at videolan.org
Sat Feb 18 18:20:51 CET 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Feb 18 18:20:38 2017 +0100| [31abbfe13188287f158e04d6f6d1ecc37bb21d82] | committer: Marvin Scholz

macOS: Use absolute paths for symlinks in pseudo-bundle

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31abbfe13188287f158e04d6f6d1ecc37bb21d82
---

 extras/package/macosx/package.mak | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index fe00beb..b19da79 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -5,11 +5,11 @@ endif
 # Symlink a pseudo-bundle
 pseudo-bundle:
 	$(MKDIR_P) $(top_builddir)/bin/Contents/Resources/
-	$(LN_S) -f ../../../modules/gui/macosx/UI $(top_builddir)/bin/Contents/Resources/English.lproj
-	$(LN_S) -f ../../../../modules/gui/macosx/Resources/InfoPlist.strings $(top_builddir)/bin/Contents/Resources/English.lproj/InfoPlist.strings
-	$(LN_S) -f ../../modules/gui/macosx/Resources/Info.plist $(top_builddir)/bin/Contents/Info.plist
+	$(LN_S) -f $(abs_top_builddir)/modules/gui/macosx/UI $(top_builddir)/bin/Contents/Resources/English.lproj
+	$(LN_S) -f $(abs_top_builddir)/modules/gui/macosx/Resources/InfoPlist.strings $(top_builddir)/bin/Contents/Resources/English.lproj/InfoPlist.strings
+	$(LN_S) -f $(abs_top_builddir)/modules/gui/macosx/Resources/Info.plist $(top_builddir)/bin/Contents/Info.plist
 	$(LN_S) -f $(CONTRIB_DIR)/Frameworks
-	cd $(top_builddir)/bin/Contents/Resources/ && find ../../../$(top_srcdir)/modules/gui/macosx/Resources/ -type f -exec $(LN_S) -f {} \;
+	cd $(top_builddir)/bin/Contents/Resources/ && find $(abs_top_srcdir)/modules/gui/macosx/Resources/ -type f -exec $(LN_S) -f {} \;
 
 # This is just for development purposes.
 # The resulting VLC-dev.app will only run in this tree.



More information about the vlc-commits mailing list