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