summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_psion_Makefile.am
blob: 352e5d9658971ba6f74013b155ef1f011d3748e0 (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.2 2016/01/24 15:30:47 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