summaryrefslogtreecommitdiff
path: root/recipes/lm_sensors/files/iconv.patch
blob: 4aecafafb1413dec97e40de9fef533b4fa812816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: lm_sensors-2.10.1/prog/sensors/Module.mk
===================================================================
--- lm_sensors-2.10.1.orig/prog/sensors/Module.mk	2006-09-24 22:30:10.000000000 +0000
+++ lm_sensors-2.10.1/prog/sensors/Module.mk	2007-04-14 22:11:47.000000000 +0000
@@ -36,7 +36,7 @@
 REMOVESENSORSBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(BINDIR)/%,$(PROGSENSORSTARGETS))
 REMOVESENSORSMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGSENSORSMAN1DIR)/%,$(PROGSENSORSMAN1FILES))
 
-LIBICONV := $(shell if /sbin/ldconfig -p | grep -q libiconv\\.so ; then echo \-liconv; else echo; fi)
+LIBICONV := -liconv
 
 $(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
 	$(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors