Add paths of private frameworks to linker rpath options

This commit is contained in:
Stephan Witt 2015-07-08 17:56:26 +02:00
parent f41e423b30
commit 6e9bd23a1f

View 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