mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s4-waf: allow standalone tarball build of libraries
This commit is contained in:
parent
528d7c7cf3
commit
9e9e878e8f
@ -3,9 +3,17 @@
|
||||
APPNAME = 'talloc'
|
||||
VERSION = '2.0.2'
|
||||
|
||||
srcdir = '../..'
|
||||
blddir = 'bin'
|
||||
|
||||
# find the buildtools directory
|
||||
import os
|
||||
buildtools = 'buildtools ../../buildtools'
|
||||
for d in buildtools.split():
|
||||
if os.path.exists(d):
|
||||
srcdir = os.path.dirname(d) or '.'
|
||||
break
|
||||
|
||||
|
||||
LIBREPLACE_DIR= srcdir + '/lib/replace'
|
||||
|
||||
import sys
|
||||
|
@ -3,10 +3,17 @@
|
||||
APPNAME = 'tdb'
|
||||
VERSION = '1.2.1'
|
||||
|
||||
srcdir = '../..'
|
||||
blddir = 'bin'
|
||||
|
||||
import sys
|
||||
import sys, os
|
||||
|
||||
# find the buildtools directory
|
||||
buildtools = 'buildtools ../../buildtools'
|
||||
for d in buildtools.split():
|
||||
if os.path.exists(d):
|
||||
srcdir = os.path.dirname(d) or '.'
|
||||
break
|
||||
|
||||
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
|
||||
import wafsamba
|
||||
|
||||
|
@ -3,10 +3,17 @@
|
||||
APPNAME = 'tevent'
|
||||
VERSION = '0.9.8'
|
||||
|
||||
srcdir = '../..'
|
||||
blddir = 'bin'
|
||||
|
||||
import sys
|
||||
import sys, os
|
||||
|
||||
# find the buildtools directory
|
||||
buildtools = 'buildtools ../../buildtools'
|
||||
for d in buildtools.split():
|
||||
if os.path.exists(d):
|
||||
srcdir = os.path.dirname(d) or '.'
|
||||
break
|
||||
|
||||
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
|
||||
import wafsamba
|
||||
|
||||
|
@ -3,10 +3,16 @@
|
||||
APPNAME = 'ldb'
|
||||
VERSION = '0.9.10'
|
||||
|
||||
srcdir = '../../..'
|
||||
blddir = 'bin'
|
||||
|
||||
import sys
|
||||
import sys, os
|
||||
# find the buildtools directory
|
||||
buildtools = 'buildtools ../../buildtools'
|
||||
for d in buildtools.split():
|
||||
if os.path.exists(d):
|
||||
srcdir = os.path.dirname(d) or '.'
|
||||
break
|
||||
|
||||
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
|
||||
import wafsamba
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user