From: Ralph Boehme Date: Tue, 9 Jul 2019 17:10:14 +0000 (+0200) Subject: s3:{modules => lib}/string_replace.[c|h] X-Git-Tag: talloc-2.3.0~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd3b4187266a49ceaf5ce176abfdd17c741d4caf;p=thirdparty%2Fsamba.git s3:{modules => lib}/string_replace.[c|h] This is now also consumed by something outside source3/modules/. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/string_replace.c b/source3/lib/string_replace.c similarity index 100% rename from source3/modules/string_replace.c rename to source3/lib/string_replace.c diff --git a/source3/modules/string_replace.h b/source3/lib/string_replace.h similarity index 100% rename from source3/modules/string_replace.h rename to source3/lib/string_replace.h diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build index 5dae8a342b6..0305dcdd050 100644 --- a/source3/modules/wscript_build +++ b/source3/modules/wscript_build @@ -33,9 +33,6 @@ bld.SAMBA3_SUBSYSTEM('OFFLOAD_TOKEN', source='offload_token.c', deps='samba-util') -bld.SAMBA3_SUBSYSTEM('STRING_REPLACE', - source='string_replace.c') - bld.SAMBA3_SUBSYSTEM('HASH_INODE', source='hash_inode.c', deps='gnutls') diff --git a/source3/wscript_build b/source3/wscript_build index a3f3521b6ce..314f016dc19 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1086,6 +1086,9 @@ bld.SAMBA3_SUBSYSTEM('ADOUBLE', source='lib/adouble.c', deps='STRING_REPLACE') +bld.SAMBA3_SUBSYSTEM('STRING_REPLACE', + source='lib/string_replace.c') + ########################## BINARIES ################################# bld.SAMBA3_BINARY('smbd/smbd',