]> git.pld-linux.org Git - packages/apcupsd.git/blame - cxxld.patch
add fedora patches; including systemd support
[packages/apcupsd.git] / cxxld.patch
CommitLineData
76fc6305
ER
1fix FTBFS, c++ linking needs -lstdc++ explicitly
2https://bugzilla.redhat.com/show_bug.cgi?id=631288
3
4diff -up apcupsd-3.14.8/src/Makefile.cxxld apcupsd-3.14.8/src/Makefile
5--- apcupsd-3.14.8/src/Makefile.cxxld 2009-09-30 01:20:45.000000000 +0200
6+++ apcupsd-3.14.8/src/Makefile 2010-09-22 11:18:03.550601657 +0200
7@@ -26,10 +26,10 @@ SRCS = $(common_srcs) $(apcupsd_srcs) $(
8 all-targets: apcupsd apcaccess apctest smtp
9
10 apcupsd: $(common_obj) $(apcupsd_obj) $(APCDRVLIBS) $(APCLIBS)
11- $(LINK) $(DRVLIBS)
12+ $(LINK) -lstdc++ $(DRVLIBS)
13
14 apctest: $(common_obj) $(apctest_obj) $(APCDRVLIBS) $(APCLIBS)
15- $(LINK) $(DRVLIBS)
16+ $(LINK) -lstdc++ $(DRVLIBS)
17
18 apcaccess: $(apcaccess_obj) $(APCLIBS)
19 $(LINK)
This page took 0.044696 seconds and 4 git commands to generate.