mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 13:20:58 +00:00
b090327dec
This avoids failures when running install_name_tool on Mac when creating relocatable binaries using the bundled private frameworks.
(cherry picked from commit d9c0807227
)
34 lines
585 B
Makefile
34 lines
585 B
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
#man_MANS = lyxconvert.1
|
|
|
|
DEFAULT_INCLUDES =
|
|
|
|
if INSTALL_MACOSX
|
|
|
|
bin_PROGRAMS = lyxconvert
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/src/convert \
|
|
$(QT_CPPFLAGS) \
|
|
-DQT_NO_CAST_TO_ASCII \
|
|
-DQT_NO_STL \
|
|
$(QT_INCLUDES)
|
|
|
|
lyxconvert_SOURCES = \
|
|
lyxconvert.cpp
|
|
|
|
lyxconvert_LDADD = \
|
|
$(QT_LIB) $(QT_LDFLAGS) \
|
|
$(ICONV_LIBS) $(ZLIB_LIBS) $(LIBSHLWAPI) $(LIBPSAPI)
|
|
|
|
lyxconvert_LDFLAGS = -framework AppKit \
|
|
-Wl,-rpath,@loader_path/../Frameworks \
|
|
-Wl,-rpath,@executable_path/../Frameworks \
|
|
-Wl,-headerpad_max_install_names
|
|
|
|
else
|
|
|
|
bin_PROGRAMS =
|
|
|
|
endif
|