Browse Source

vlc-cache-gen: get the absolute path of modules in a portable way

realpath doesn't exist on macOS.
pull/162/head
Steve Lhomme 3 years ago
parent
commit
603e9f1a61
  1. 2
      bin/Makefile.am

2
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

Loading…
Cancel
Save