lm_sensors-noldconfig.patch 631 B

123456789101112
  1. --- prog/sensors/Module.mk.orig 2012-04-19 10:13:27.175638000 -0300
  2. +++ prog/sensors/Module.mk 2018-06-14 15:40:46.969544992 -0300
  3. @@ -37,7 +37,7 @@
  4. REMOVESENSORSBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(BINDIR)/%,$(PROGSENSORSTARGETS))
  5. REMOVESENSORSMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGSENSORSMAN1DIR)/%,$(PROGSENSORSMAN1FILES))
  6. -LIBICONV := $(shell if /sbin/ldconfig -p | grep -q '/libiconv\.so$$' ; then echo \-liconv; else echo; fi)
  7. +LIBICONV :=
  8. $(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
  9. $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) $(LIBICONV) -Llib -lsensors