|
|
@ -14,8 +14,22 @@ |
|
|
|
|
|
|
|
|
|
|
|
makeopt= |
|
|
|
makeopt= |
|
|
|
makeinstopt= |
|
|
|
makeinstopt= |
|
|
|
hook_add inmake 5 "scons $sconsopt prefix=/$prefix; scons prefix=/$prefix install" |
|
|
|
hook_add inmake 5 "scons $sconsopt PREFIX=/$prefix; scons PREFIX=/$prefix install" |
|
|
|
|
|
|
|
|
|
|
|
for x in thread filesystem regex serialization; do |
|
|
|
for x in thread filesystem regex serialization; do |
|
|
|
var_append extraconfopt ' ' "--with-boost-$x=boost_${x}-mt" |
|
|
|
var_append extraconfopt ' ' "--with-boost-$x=boost_${x}-mt" |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix_sconstructlib() { |
|
|
|
|
|
|
|
local x |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "$libdir" != */lib ]]; then |
|
|
|
|
|
|
|
x='lib64' |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
x='lib' |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i -e "s,LIBDIR_SCHEMA=.*$,LIBDIR_SCHEMA= '$x',g" SConstruct |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hook_add premake 3 fix_sconstructlib |
|
|
|