diff --git a/bin/Makefile.am b/bin/Makefile.am index 447552c7a8..c62d6f27df 100644 --- a/bin/Makefile.am +++ b/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