summaryrefslogtreecommitdiffstats
path: root/waflib/extras/local_rpath.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 20:26:05 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 23:10:30 +0200
commit788afee7e18b1ed596245f38556150ddf2ac2ac1 (patch)
tree15f59150b0c7a2a60d63618e0be0203b9653c280 /waflib/extras/local_rpath.py
parenta26e6c73275d07c4f7bf80745ce26eb7aa8d941a (diff)
downloadpatchage-788afee7e18b1ed596245f38556150ddf2ac2ac1.tar.gz
patchage-788afee7e18b1ed596245f38556150ddf2ac2ac1.tar.bz2
patchage-788afee7e18b1ed596245f38556150ddf2ac2ac1.zip
Switch to using a submodule for autowaf
Diffstat (limited to 'waflib/extras/local_rpath.py')
m---------waflib0
-rw-r--r--waflib/extras/local_rpath.py19
2 files changed, 0 insertions, 19 deletions
diff --git a/waflib b/waflib
new file mode 160000
+Subproject 2314e236ca6e7d94a26c3c17091da0f25f5867f
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', [])))
-