[vlc-commits] macosx: package: use ln -n instead of -h

Alexandre Janniaux git at videolan.org
Fri Apr 17 17:40:17 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Apr 17 12:19:19 2020 +0200| [f55e9784bb7facaf8251e0f9b27e1c2b81e93f8b] | committer: Alexandre Janniaux

macosx: package: use ln -n instead of -h

The -h option is not portable, the -n is achieving the same feature but
is also compatible with other ln implementation.

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

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

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 8d64e0568a..49ea3d7b96 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -8,9 +8,9 @@ endif
 # Symlink a pseudo-bundle
 pseudo-bundle:
 	$(MKDIR_P) $(top_builddir)/bin/Contents/Resources/
-	$(LN_S) -hf $(abs_top_builddir)/modules/gui/macosx/UI $(top_builddir)/bin/Contents/Resources/Base.lproj
-	$(LN_S) -hf $(abs_top_builddir)/share/macosx/Info.plist $(top_builddir)/bin/Contents/Info.plist
-	$(LN_S) -hf $(CONTRIB_DIR)/Frameworks
+	$(LN_S) -nf $(abs_top_builddir)/modules/gui/macosx/UI $(top_builddir)/bin/Contents/Resources/Base.lproj
+	$(LN_S) -nf $(abs_top_builddir)/share/macosx/Info.plist $(top_builddir)/bin/Contents/Info.plist
+	$(LN_S) -nf $(CONTRIB_DIR)/Frameworks
 	cd $(top_builddir)/bin/Contents/Resources/ && find $(abs_top_srcdir)/modules/gui/macosx/Resources/ -type f -exec $(LN_S) -f {} \;
 
 macos-install:



More information about the vlc-commits mailing list