commit 6e9bd23a1f1888b2022335b2d05a3f770ada935a
Author: Stephan Witt <[email protected]>
Date:   Wed Jul 8 17:56:26 2015 +0200

    Add paths of private frameworks to linker rpath options

diff --git a/src/Makefile.am b/src/Makefile.am
index a43f717..dfc292c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,7 +44,9 @@ if LYX_WIN_RESOURCE
 endif
 
 if INSTALL_MACOSX
-lyx_LDFLAGS = -framework AppKit -framework ApplicationServices
+lyx_LDFLAGS = -framework AppKit -framework ApplicationServices \
+       -Wl,-rpath,@loader_path/../Frameworks \
+       -Wl,-rpath,@executable_path/../Frameworks
 endif
 
 #lyx_LDFLAGS=-Wl,-O1

Reply via email to