summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-20 23:29:59 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:33 +1000
commit34b77a15d36e21c67d5493e45955358589f7b9c5 (patch)
tree8db64919e8b9c8147b093ef6554e96bc7fd452dd /lib/replace/wscript
parent9757da515d4f9927255cfa293974ec6fe3437aa4 (diff)
downloadsamba-34b77a15d36e21c67d5493e45955358589f7b9c5.tar.gz
samba-34b77a15d36e21c67d5493e45955358589f7b9c5.tar.bz2
samba-34b77a15d36e21c67d5493e45955358589f7b9c5.zip
build: updates to waf scripts for replace and talloc
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 45ce6cddf6..6baab09b03 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -13,8 +13,7 @@ def configure(conf):
conf.env.hlist = []
# load our local waf extensions
- conf.check_tool('autoconf', tooldir='. ../replace')
- conf.check_rpath()
+ conf.check_tool('autoconf', tooldir=conf.curdir)
conf.check_tool('compiler_cc')
conf.DEFUN('_GNU_SOURCE', 1)
@@ -114,12 +113,14 @@ main() { foo("hello"); }
conf.write_config_header('config.h')
def build(bld):
+ bld.set_rpath()
+
# the libreplace shared library
bld(
features = 'cc cshlib',
source = 'replace.c',
target='replace',
- includes = '. default /usr/include')
+ includes = '. default')
# test program
bld(