summaryrefslogtreecommitdiffstats
path: root/waflib/extras/local_rpath.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 23:03:42 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 23:03:42 +0200
commit5f667886ebd5aaae8ce03b5627e73e47b9321ba9 (patch)
tree75027937e2cf72d1283f96368fdea8d0faa1bb5f /waflib/extras/local_rpath.py
parent26425a93c7972c1d3cc98c3e7c89378a831e6e71 (diff)
downloadsuil-5f667886ebd5aaae8ce03b5627e73e47b9321ba9.tar.gz
suil-5f667886ebd5aaae8ce03b5627e73e47b9321ba9.tar.bz2
suil-5f667886ebd5aaae8ce03b5627e73e47b9321ba9.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', [])))
-