Bug 111497

Summary: klaptopdaemon improperly links against libstdc++
Product: klaptopdaemon Reporter: Garrett Kajmowicz <gkajmowi>
Component: generalAssignee: Paul Campbell <paul>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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