build: SAMBA_BUILD_ENV() is now in conf.*
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 Feb 2010 00:59:23 +0000 (11:59 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:34 +0000 (20:26 +1000)
lib/replace/wscript

index 5c1975bf5f969a610198df25b4eeff4c941cd67c..04665a0ec168a3b06cd7959945b9222e247cf072 100644 (file)
@@ -148,14 +148,13 @@ main() { foo("hello"); }
                msg="Checking for C99 vsnprintf")
 
     conf.SAMBA_CONFIG_H()
+    conf.SAMBA_BUILD_ENV()
 
 def build(bld):
     bld.set_rpath()
 
     REPLACE_SOURCE = 'replace.c snprintf.c'
 
-    bld.SAMBA_BUILD_ENV()
-
     bld.SAMBA_LIBRARY('replace',
                       REPLACE_SOURCE)