]> git.lyx.org Git - lyx.git/commitdiff
Add paths of private frameworks to linker rpath options
authorStephan Witt <switt@lyx.org>
Wed, 8 Jul 2015 15:56:26 +0000 (17:56 +0200)
committerStephan Witt <switt@lyx.org>
Wed, 8 Jul 2015 15:56:26 +0000 (17:56 +0200)
src/Makefile.am

index a43f717d05b21c4ccbb1ee24b5a697ce83d370e1..dfc292cb3f785707d71692001dd479ab4ae01f34 100644 (file)
@@ -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