From 1440ae2e130113ffda1e1a6374f451bd31d568a8 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sat, 23 Jan 2016 07:15:32 +0100 Subject: [PATCH] pass values for @executable_path and @loader_path to instruct the dyld where to find the Qt frameworks --- src/tex2lyx/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am index d5ce4cb3f3..f0334822cd 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