summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/charset/wscript_build11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/util/charset/wscript_build b/lib/util/charset/wscript_build
index ba8b869a37..4137bf6cee 100644
--- a/lib/util/charset/wscript_build
+++ b/lib/util/charset/wscript_build
@@ -1,11 +1,12 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('CHARSET',
- source='iconv.c charcnv.c util_unistr.c',
- public_deps='iconv CODEPOINTS',
- public_headers='charset.h',
- )
+if bld.env._SAMBA_BUILD_ == 4:
+ bld.SAMBA_SUBSYSTEM('CHARSET',
+ source='iconv.c charcnv.c util_unistr.c',
+ public_deps='iconv CODEPOINTS',
+ public_headers='charset.h',
+ )
bld.SAMBA_SUBSYSTEM('CODEPOINTS',
source='codepoints.c',