Unpack waf; try to fix up debian/copyright.
[libcxml.git] / waflib / Tools / ar.py
diff --git a/waflib/Tools/ar.py b/waflib/Tools/ar.py
new file mode 100644 (file)
index 0000000..5921ce1
--- /dev/null
@@ -0,0 +1,13 @@
+#! /usr/bin/env python
+# encoding: utf-8
+# WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
+
+from waflib.Configure import conf
+@conf
+def find_ar(conf):
+       conf.load('ar')
+def configure(conf):
+       conf.find_program('ar',var='AR')
+       conf.add_os_flags('ARFLAGS')
+       if not conf.env.ARFLAGS:
+               conf.env.ARFLAGS=['rcs']