commit 1440ae2e130113ffda1e1a6374f451bd31d568a8 Author: Stephan Witt <sw...@lyx.org> Date: Sat Jan 23 07:15:32 2016 +0100
pass values for @executable_path and @loader_path to instruct the dyld where to find the Qt frameworks diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am index d5ce4cb..f033482 100644 --- a/src/tex2lyx/Makefile.am +++ b/src/tex2lyx/Makefile.am @@ -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