projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb7835d
)
src/wscript_build: also install static library
author
Paul Brossier
<piem@piem.org>
Sat, 26 Nov 2016 13:52:37 +0000
(14:52 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 26 Nov 2016 13:52:37 +0000
(14:52 +0100)
See this post from waf author:
https://groups.google.com/forum/#!msg/waf-users/GBHPrmO_lDg/34VWYEaks40J
src/wscript_build
patch
|
blob
|
history
diff --git
a/src/wscript_build
b/src/wscript_build
index
f2bd2ba
..
c55d5f2
100644
(file)
--- a/
src/wscript_build
+++ b/
src/wscript_build
@@
-29,6
+29,11
@@
elif ctx.env['DEST_OS'] in ['emscripten']:
else: #linux, darwin, android, mingw, ...
build_features = ['cstlib', 'cshlib']
+# also install static lib
+from waflib.Tools.c import cstlib
+from waflib.Tools.fc import fcstlib
+fcstlib.inst_to = cstlib.inst_to = '${LIBDIR}'
+
for target in build_features:
ctx(features = 'c ' + target,
use = uselib + ['lib_objects'],