mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
The libsensors test suite doesn't use iconv.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4655 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -4,8 +4,6 @@ LIB_TEST_DIR := lib/test
|
||||
LIB_TEST_TARGETS := $(LIB_TEST_DIR)/test-scanner
|
||||
LIB_TEST_SOURCES := $(LIB_TEST_DIR)/test-scanner.c
|
||||
|
||||
LIBICONV := $(shell if /sbin/ldconfig -p | grep -q libiconv\\.so ; then echo \-liconv; else echo; fi)
|
||||
|
||||
LIB_TEST_SCANNER_OBJS := \
|
||||
$(LIB_TEST_DIR)/test-scanner.ro \
|
||||
$(LIB_DIR)/conf-lex.ao \
|
||||
@@ -13,7 +11,7 @@ LIB_TEST_SCANNER_OBJS := \
|
||||
$(LIB_DIR)/general.ao
|
||||
|
||||
$(LIB_TEST_DIR)/test-scanner: $(LIB_TEST_SCANNER_OBJS)
|
||||
$(CC) $(EXLDFLAGS) -o $@ $(LIB_TEST_SCANNER_OBJS) $(LIBICONV) -Llib
|
||||
$(CC) $(EXLDFLAGS) -o $@ $(LIB_TEST_SCANNER_OBJS) -Llib
|
||||
|
||||
all-lib-test: $(LIB_TEST_TARGETS)
|
||||
user :: all-lib-test
|
||||
|
Reference in New Issue
Block a user