summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/replace/config.mk4
-rw-r--r--source4/lib/replace/system/iconv.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/source4/lib/replace/config.mk b/source4/lib/replace/config.mk
index ff80955ffe..7103facd51 100644
--- a/source4/lib/replace/config.mk
+++ b/source4/lib/replace/config.mk
@@ -1,4 +1,6 @@
[BINARY::REPLACE]
OBJ_FILES = test/testsuite.o test/os2_delete.o
-PRIVATE_DEPENDENCIES = LIBREPLACE
+PRIVATE_DEPENDENCIES = \
+ LIBREPLACE \
+ ICONV
INSTALLDIR = TORTUREDIR/LOCAL
diff --git a/source4/lib/replace/system/iconv.h b/source4/lib/replace/system/iconv.h
index f01d135dd1..abc2d6f4e1 100644
--- a/source4/lib/replace/system/iconv.h
+++ b/source4/lib/replace/system/iconv.h
@@ -35,11 +35,11 @@
#endif
#ifdef HAVE_NATIVE_ICONV
-#if defined(HAVE_ICONV_H)
+#if defined(HAVE_ICONV)
#include <iconv.h>
-#elif defined(HAVE_GICONV_H)
+#elif defined(HAVE_GICONV)
#include <giconv.h>
-#elif defined(HAVE_BICONV_H)
+#elif defined(HAVE_BICONV)
#include <biconv.h>
#endif
#endif /* HAVE_NATIVE_ICONV */