aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/Tools/ar.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-02 20:47:18 +0200
committerDavid Robillard <d@drobilla.net>2020-04-02 20:47:18 +0200
commitac77923e2233547122343c9dcdb89be81bde896b (patch)
tree45d8eb6272d38e823cc47f215bf31ea6f1238b72 /waflib/Tools/ar.py
parentffa9c8240e4d904da2154466e811302ae313034d (diff)
downloadpugl-ac77923e2233547122343c9dcdb89be81bde896b.tar.gz
pugl-ac77923e2233547122343c9dcdb89be81bde896b.tar.bz2
pugl-ac77923e2233547122343c9dcdb89be81bde896b.zip
Remove waf in preparation for switching to a submodule
Unfortunately this leaves a commit with no build system at all in the history, but some systems do not handle replacing a directory with a submodule in the same commit properly.
Diffstat (limited to 'waflib/Tools/ar.py')
-rw-r--r--waflib/Tools/ar.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/waflib/Tools/ar.py b/waflib/Tools/ar.py
deleted file mode 100644
index b39b645..0000000
--- a/waflib/Tools/ar.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-# encoding: utf-8
-# Thomas Nagy, 2006-2018 (ita)
-# Ralf Habacker, 2006 (rh)
-
-"""
-The **ar** program creates static libraries. This tool is almost always loaded
-from others (C, C++, D, etc) for static library support.
-"""
-
-from waflib.Configure import conf
-
-@conf
-def find_ar(conf):
- """Configuration helper used by C/C++ tools to enable the support for static libraries"""
- conf.load('ar')
-
-def configure(conf):
- """Finds the ar program and sets the default flags in ``conf.env.ARFLAGS``"""
- conf.find_program('ar', var='AR')
- conf.add_os_flags('ARFLAGS')
- if not conf.env.ARFLAGS:
- conf.env.ARFLAGS = ['rcs']
-