Files
pkgsrc-ng/editors/abiword/patches/patch-plugins_latex_Makefile.am
2016-01-21 23:42:40 +01:00

21 lines
584 B
Plaintext

$NetBSD: patch-plugins_latex_Makefile.am,v 1.1 2015/09/13 21:32:13 nros Exp $
GCC 4.6+ chokes on "--no-undefined" which older versions of GCC let fall
to the linker. Prefix with "-Wl," to fix build.
--- plugins/latex/Makefile.am.orig 2011-11-15 21:25:46.000000000 +0000
+++ plugins/latex/Makefile.am
@@ -1,4 +1,5 @@
+
if HAVE_LIBXSLT
SUBDIRS = xp xsltml
else
@@ -22,7 +23,7 @@ latex_la_LIBADD = \
latex_la_LDFLAGS = \
-avoid-version \
-module \
- -no-undefined
+ -Wl,-no-undefined
if TOOLKIT_COCOA
latex_la_LDFLAGS += -headerpad_max_install_names
endif # TOOLKIT_COCOA