From 6e9bd23a1f1888b2022335b2d05a3f770ada935a Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Wed, 8 Jul 2015 17:56:26 +0200 Subject: [PATCH] Add paths of private frameworks to linker rpath options --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index a43f717d05..dfc292cb3f 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