[vlc-commits] [Git][videolan/vlc][master] vlc-cache-gen: get the absolute path of modules in a portable way
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Sat May 20 13:42:18 UTC 2023
    
    
  
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
603e9f1a by Steve Lhomme at 2023-05-20T12:04:02+00:00
vlc-cache-gen: get the absolute path of modules in a portable way
realpath doesn't exist on macOS.
- - - - -
1 changed file:
- bin/Makefile.am
Changes:
=====================================
bin/Makefile.am
=====================================
@@ -143,7 +143,7 @@ endif
 ../modules/plugins.dat: vlc-cache-gen$(EXEEXT)
 	$(AM_V_at)rm -f ../modules/plugins.dat
 	$(AM_V_GEN)if test "$(build)" = "$(host)"; then \
-		./vlc-cache-gen$(EXEEXT) `realpath ../modules` ; \
+		./vlc-cache-gen$(EXEEXT) `cd "../modules" ; pwd -P` ; \
 	else \
 		echo "Cross-compilation: cache generation skipped!" ; \
 	fi
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/603e9f1a61e034bfa1cbd4e5c534bb29ead60546
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/603e9f1a61e034bfa1cbd4e5c534bb29ead60546
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
    
    
More information about the vlc-commits
mailing list