* Make it work.
svn path=/nixpkgs/trunk/; revision=5385
This commit is contained in:
parent
d571eaafb3
commit
fef1bdfad1
@ -13,11 +13,14 @@ while read target; do
|
|||||||
read source
|
read source
|
||||||
echo "$source -> $target"
|
echo "$source -> $target"
|
||||||
ensureDir $out/$(dirname $target)
|
ensureDir $out/$(dirname $target)
|
||||||
cp "$source" $out/"$target"
|
cp -p "$source" $out/"$target"
|
||||||
done < $filemap
|
done < $filemap
|
||||||
|
|
||||||
|
# Make DLLs and executables executable.
|
||||||
|
find $out \( -iname "*.dll" -o -iname "*.exe" -o -iname "*.config" \) -print0 | xargs -0 chmod +x
|
||||||
|
|
||||||
cat > $out/setup <<EOF
|
cat > $out/setup <<EOF
|
||||||
export PATH="$out/VC/bin:$out/Common7/IDE:$sdkPath/bin:\$PATH"
|
export PATH="$out/VC/bin:$out/Common7/IDE:\$PATH"
|
||||||
export LIB="$(cygpath -w -p "$out/VC/lib:$sdkPath/lib")"
|
export LIB="$(cygpath -w -p "$out/VC/lib")"
|
||||||
export INCLUDE="$(cygpath -w -p "$out/VC/include:$sdkPath/include")"
|
export INCLUDE="$(cygpath -w -p "$out/VC/include")"
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user