blob: 628b6f36aeeedd1ef36d496d8623516f520a0422 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-plugins_goffice_Makefile.am,v 1.2 2016/01/24 15:30:46 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/goffice/Makefile.am.orig 2011-11-15 21:25:46.000000000 +0000
+++ plugins/goffice/Makefile.am
@@ -1,4 +1,5 @@
+
SUBDIRS = unix
plugindir = $(ABIWORD_PLUGINSDIR)
@@ -11,9 +12,10 @@ goffice_la_LIBADD = \
goffice_la_LDFLAGS = \
-avoid-version \
-module \
- -no-undefined
+ -Wl,--no-undefined
goffice_la_SOURCES =
+nodist_EXTRA_goffice_la_SOURCES = dummy.cpp
EXTRA_DIST = \
plugin.m4
|