]>
Commit | Line | Data |
---|---|---|
76fc6305 ER |
1 | fix FTBFS, c++ linking needs -lstdc++ explicitly |
2 | https://bugzilla.redhat.com/show_bug.cgi?id=631288 | |
3 | ||
4 | diff -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) |