mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Link against Cocoa and/or Carbon for Mac OS X. This is needed for autoOpen and Linkback.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
968ab69e88
commit
9e53e98b05
@ -39,6 +39,10 @@ if LYX_WIN_RESOURCE
|
||||
windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
|
||||
endif
|
||||
|
||||
if INSTALL_MACOSX
|
||||
lyx_LDFLAGS = -framework Carbon -framework Cocoa
|
||||
endif
|
||||
|
||||
#lyx_LDFLAGS=-Wl,-O1
|
||||
|
||||
BUILT_SOURCES = $(PCH_FILE)
|
||||
|
@ -15,6 +15,10 @@ lyxclient_LDADD = \
|
||||
$(BOOST_LIBS) $(INTLLIBS) @LIBS@ $(SOCKET_LIBS) \
|
||||
$(QT4_LIB) $(QT4_LDFLAGS) $(LIBSHLWAPI) $(LIBPSAPI)
|
||||
|
||||
if INSTALL_MACOSX
|
||||
lyxclient_LDFLAGS = -framework Carbon
|
||||
endif
|
||||
|
||||
# everything below the line containing the single backslashs
|
||||
# an ugly hack and needed because of the
|
||||
# linking problems described in ../Makefile.am
|
||||
|
@ -67,3 +67,7 @@ tex2lyx_LDADD = \
|
||||
$(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
|
||||
$(QT4_LIB) $(QT4_LDFLAGS) \
|
||||
@LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
|
||||
|
||||
if INSTALL_MACOSX
|
||||
tex2lyx_LDFLAGS = -framework Carbon
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user