summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_aiksaurus_Makefile.am
blob: 8994d60efdb6a135bcad4884d8d9e5c4ce64e8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-plugins_aiksaurus_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.
Use CXX for linking.
--- plugins/aiksaurus/Makefile.am.orig	2014-03-21 23:51:31.000000000 +0000
+++ plugins/aiksaurus/Makefile.am
@@ -28,7 +28,8 @@ aiksaurus_la_LIBADD = \
 aiksaurus_la_LDFLAGS = \
 	-avoid-version \
 	-module \
-	-no-undefined
+	-Wl,-no-undefined
 
 aiksaurus_la_SOURCES = 
+nodist_EXTRA_aiksaurus_la_SOURCES = dummy.cpp