Browse Source

macosx: add rpath for Frameworks

The Frameworks folder was missing in the rpath, leading to Frameworks
like Sparkle requiring change of the install_name after it was built
instead of just using rpath properly.
pull/134/head
Marvin Scholz 4 years ago
committed by David
parent
commit
ffaadb57c6
  1. 1
      bin/Makefile.am

1
bin/Makefile.am

@ -63,6 +63,7 @@ vlc_osx_static_OBJCFLAGS = $(AM_OBJCFLAGS) \
vlc_osx_static_LDFLAGS = $(vlc_osx_LDFLAGS) -static
vlc_osx_static_LDFLAGS += -Xlinker -rpath -Xlinker "@executable_path/../lib/.libs/"
vlc_osx_static_LDFLAGS += -Xlinker -rpath -Xlinker "@executable_path/../src/.libs/"
vlc_osx_static_LDFLAGS += -Xlinker -rpath -Xlinker "@executable_path/../Frameworks/"
vlc_osx_static_LDADD = $(vlc_osx_LDADD)
if HAVE_BREAKPAD
vlc_osx_static_LDFLAGS += -Wl,-framework,Breakpad

Loading…
Cancel
Save