]> git.pld-linux.org Git - packages/apcupsd.git/blame - cxxld.patch
configure scripts from well known location
[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
291cd762
ER
4--- apcupsd-3.14.13/src/Makefile~ 2014-11-04 21:17:43.000000000 +0200
5+++ apcupsd-3.14.13/src/Makefile 2015-09-16 16:42:11.150220917 +0300
6@@ -30,10 +30,10 @@
7 all-targets: apcupsd$(EXE) apcaccess$(EXE) apctest$(EXE) smtp$(EXE)
76fc6305 8
291cd762
ER
9 apcupsd$(EXE): $(common_obj) $(apcupsd_obj) $(APCDRVLIBS) $(APCLIBS)
10- $(LINK) $(DRVLIBS) $(BG)
11+ $(LINK) -lstdc++ $(DRVLIBS) $(BG)
76fc6305 12
291cd762 13 apctest$(EXE): $(common_obj) $(apctest_obj) $(APCDRVLIBS) $(APCLIBS)
76fc6305
ER
14- $(LINK) $(DRVLIBS)
15+ $(LINK) -lstdc++ $(DRVLIBS)
16
291cd762 17 apcaccess$(EXE): $(apcaccess_obj) $(APCLIBS)
76fc6305 18 $(LINK)
This page took 0.100433 seconds and 4 git commands to generate.