aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/extras/local_rpath.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/extras/local_rpath.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/extras/local_rpath.py')
-rw-r--r--waflib/extras/local_rpath.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/waflib/extras/local_rpath.py b/waflib/extras/local_rpath.py
deleted file mode 100644
index b2507e1..0000000
--- a/waflib/extras/local_rpath.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /usr/bin/env python
-# encoding: utf-8
-# Thomas Nagy, 2011 (ita)
-
-from waflib.TaskGen import after_method, feature
-
-@after_method('propagate_uselib_vars')
-@feature('cprogram', 'cshlib', 'cxxprogram', 'cxxshlib', 'fcprogram', 'fcshlib')
-def add_rpath_stuff(self):
- all = self.to_list(getattr(self, 'use', []))
- while all:
- name = all.pop()
- try:
- tg = self.bld.get_tgen_by_name(name)
- except:
- continue
- self.env.append_value('RPATH', tg.link_task.outputs[0].parent.abspath())
- all.extend(self.to_list(getattr(tg, 'use', [])))
-