]> git.pld-linux.org Git - packages/apcupsd.git/blob - cxxld.patch
- updated to 3.14.14, adjusted configure patch for current autotools
[packages/apcupsd.git] / cxxld.patch
1 fix FTBFS, c++ linking needs -lstdc++ explicitly
2 https://bugzilla.redhat.com/show_bug.cgi?id=631288
3
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) 
8  
9  apcupsd$(EXE): $(common_obj) $(apcupsd_obj) $(APCDRVLIBS) $(APCLIBS)
10 -       $(LINK) $(DRVLIBS) $(BG)
11 +       $(LINK) -lstdc++ $(DRVLIBS) $(BG)
12  
13  apctest$(EXE): $(common_obj) $(apctest_obj) $(APCDRVLIBS) $(APCLIBS)
14 -       $(LINK) $(DRVLIBS)
15 +       $(LINK) -lstdc++ $(DRVLIBS)
16  
17  apcaccess$(EXE): $(apcaccess_obj) $(APCLIBS)
18         $(LINK)
This page took 0.047035 seconds and 3 git commands to generate.