summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_psion_Makefile.am
blob: 1cb03e62a9e1167864c965b002bfd9d1ccc24101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-plugins_psion_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/psion/Makefile.am.orig	2011-11-15 21:25:46.000000000 +0000
+++ plugins/psion/Makefile.am
@@ -11,9 +11,10 @@ psion_la_LIBADD = \
 psion_la_LDFLAGS = \
 	-avoid-version \
 	-module \
-	-no-undefined
+	-Wl,-no-undefined
 
 psion_la_SOURCES = 
+nodist_EXTRA_psion_la_SOURCES = dummy.cpp
 
 EXTRA_DIST = \
 	plugin.m4