]> git.lyx.org Git - lyx.git/blobdiff - src/support/Makefile.am
Fix bug #4269
[lyx.git] / src / support / Makefile.am
index 3a4576c4c9f75e8185e7c732241e891955efcd30..70bbee266ea5b26f5b416553b486146749dc91db 100644 (file)
@@ -164,7 +164,11 @@ check_PROGRAMS = \
        check_trivstring
 
 if INSTALL_MACOSX
-ADD_FRAMEWORKS = -framework QtCore -framework AppKit -framework ApplicationServices
+ADD_FRAMEWORKS = \
+       -framework QtCore -framework AppKit -framework ApplicationServices \
+       -Wl,-rpath,@loader_path/../Frameworks \
+       -Wl,-rpath,@executable_path/../Frameworks \
+       -Wl,-headerpad_max_install_names
 endif
 
 check_convert_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@