[vlc-commits] [Git][videolan/vlc][3.0.x] bin: Add Frameworks directory to vlc-osx RPATH

David (@dfuhrmann) gitlab at videolan.org
Sat Jan 8 10:56:28 UTC 2022



David pushed to branch 3.0.x at VideoLAN / VLC


Commits:
0b72ae60 by David Fuhrmann at 2022-01-08T10:42:03+00:00
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.

- - - - -


1 changed file:

- bin/Makefile.am


Changes:

=====================================
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



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0b72ae60d25e40a960fa4ecd54ac30a66ef60e0b

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0b72ae60d25e40a960fa4ecd54ac30a66ef60e0b
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list