s3: piddir creation fix part 2.
[ira/wip.git] / lib / uid_wrapper / wscript
index 434d4fa5a8777c60b5103fac49a2112f5895f251..1501d0e5ce76c0c44d5c8687cfc30570c598ae6e 100644 (file)
@@ -3,14 +3,15 @@
 import Options
 
 def set_options(opt):
-       gr = opt.option_group('developer options')
-        gr.add_option('--enable-uid-wrapper',
+    gr = opt.option_group('developer options')
+    gr.add_option('--enable-uid-wrapper',
                    help=("Turn on uid wrapper library (default=no)"),
                    action="store_true", dest='enable_uid_wrapper', default=False)
 
 def configure(conf):
     if (Options.options.enable_uid_wrapper or
-       Options.options.developer or
-       Options.options.enable_selftest):
+    Options.options.developer or
+    Options.options.enable_selftest):
         conf.DEFINE('UID_WRAPPER', 1)
+        conf.ADD_GLOBAL_DEPENDENCY('uid_wrapper')