From ffaadb57c667507502dd4dc7f80a1205be60bf26 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Mon, 3 Jan 2022 22:54:31 +0100 Subject: [PATCH] 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. --- bin/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/Makefile.am b/bin/Makefile.am index 699fbd4bf0..447552c7a8 100644 --- a/bin/Makefile.am +++ b/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