Bug 111497 - klaptopdaemon improperly links against libstdc++
Summary: klaptopdaemon improperly links against libstdc++
Status: RESOLVED FIXED
Alias: None
Product: klaptopdaemon
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 17:31 UTC by Garrett Kajmowicz
Modified: 2006-01-17 13:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Kajmowicz 2005-08-25 17:31:16 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
Compiler:          G++ Using uClibc++ library
OS:                Linux

klaptopdaemon Makefile.{am,in} hard code -lstdc++.  This should not be done as it assumes that the code is being linked against GNU libstdc++.  Instead, have the compiler or makefile system determine the appropriate library to link against.
Comment 1 Dirk Mueller 2006-01-17 13:56:14 UTC
SVN commit 499272 by mueller:

fix makefile
BUG:111497


 M  +1 -1      Makefile.am  


--- trunk/KDE/kdeutils/klaptopdaemon/Makefile.am #499271:499272
@@ -41,7 +41,7 @@
 
 noinst_PROGRAMS = makecrc
 makecrc_SOURCES = makecrc.cpp
-makecrc_LDADD = -lz -lstdc++
+makecrc_LDADD = $(LIBZ)
 
 crcresult.h:	makecrc klaptop_acpi_helper
 	./makecrc >crcresult.h