git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40322
a592a061-630c-0410-9148-
cb99ea01b6c8
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)
$(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
$(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
$(QT4_LIB) $(QT4_LDFLAGS) \
@LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
+
+if INSTALL_MACOSX
+tex2lyx_LDFLAGS = -framework AppKit
+endif
* BUILD/INSTALLATION
+- Fix link problem when compiling on Mac OS X with plain autotools.
+