Richard, The following patch has not been baclported to branch (r39772+r39791).
OK? JMarc
Index: src/Makefile.am =================================================================== --- src/Makefile.am (revision 40303) +++ src/Makefile.am (working copy) @@ -39,6 +39,10 @@ windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@ endif +if INSTALL_MACOSX +lyx_LDFLAGS = -framework AppKit +endif + #lyx_LDFLAGS=-Wl,-O1 BUILT_SOURCES = $(PCH_FILE) Index: src/client/Makefile.am =================================================================== --- src/client/Makefile.am (revision 40303) +++ src/client/Makefile.am (working copy) @@ -15,6 +15,10 @@ $(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) \ $(QT4_LIB) $(QT4_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI) +if INSTALL_MACOSX +lyxclient_LDFLAGS = -framework AppKit +endif + # everything below the line containing the single backslashs # an ugly hack and needed because of the # linking problems described in ../Makefile.am Index: src/tex2lyx/Makefile.am =================================================================== --- src/tex2lyx/Makefile.am (revision 40303) +++ src/tex2lyx/Makefile.am (working copy) @@ -68,3 +68,7 @@ $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \ $(QT4_LIB) $(QT4_LDFLAGS) \ @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI) + +if INSTALL_MACOSX +tex2lyx_LDFLAGS = -framework AppKit +endif