]> git.lyx.org Git - lyx.git/commitdiff
pass values for @executable_path and @loader_path to instruct the dyld where to find...
authorStephan Witt <switt@lyx.org>
Sat, 23 Jan 2016 06:15:32 +0000 (07:15 +0100)
committerStephan Witt <switt@lyx.org>
Sat, 23 Jan 2016 06:16:09 +0000 (07:16 +0100)
src/tex2lyx/Makefile.am

index d5ce4cb3f3b1762904074bb1030eb11e48fa7e0a..f0334822cd58ace08524aaedaceab2ba7c1d25b8 100644 (file)
@@ -128,7 +128,9 @@ tex2lyx_LDADD = \
        @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
 
 if INSTALL_MACOSX
-tex2lyx_LDFLAGS = -framework AppKit
+tex2lyx_LDFLAGS = -framework AppKit \
+       -Wl,-rpath,@loader_path/../Frameworks \
+       -Wl,-rpath,@executable_path/../Frameworks
 endif
 
 .PHONY: alltests alltests-recursive updatetests