Browse Source

bin: Add Frameworks directory to vlc-osx RPATH

vlc-osx is used to generate the final VLC executable, and therefore
the RPATH to the Frameworks directory is needed as well, in order
to find the Sparkle framework.

Followup fix for !1155.
pull/135/head
David Fuhrmann 5 years ago
committed by David
parent
commit
0b72ae60d2
  1. 1
      bin/Makefile.am

1
bin/Makefile.am

@ -49,6 +49,7 @@ vlc_osx_SOURCES = darwinvlc.m
vlc_osx_LDFLAGS = $(LDFLAGS_vlc) -Wl,-framework,CoreFoundation,-framework,Cocoa
vlc_osx_LDFLAGS += -Xlinker -rpath -Xlinker "@executable_path/lib/"
vlc_osx_LDFLAGS += -Xlinker -rpath -Xlinker "@executable_path/plugins/"
vlc_osx_LDFLAGS += -Xlinker -rpath -Xlinker "@executable_path/../Frameworks/"
if HAVE_BREAKPAD
vlc_osx_LDFLAGS += -Wl,-framework,Breakpad
vlc_osx_OBJCFLAGS = -F$(CONTRIB_DIR)/Frameworks

Loading…
Cancel
Save