diff options
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2315,6 +2315,17 @@ if [ "$OPT_SHADOW" = "yes" ]; then chmod 755 "$outpath/bin/syncqt" fi + for i in createpackage patch_capabilities; do + rm -f "$outpath/bin/$i" + if [ -x "$relpath/bin/$i" ]; then + mkdir -p "$outpath/bin" + echo "#!/bin/sh" >"$outpath/bin/$i" + echo "QTDIR=\"$relpath\"; export QTDIR" >>"$outpath/bin/$i" + echo "\"$relpath/bin/$i\" \"\$@\"" >>"$outpath/bin/$i" + chmod 755 "$outpath/bin/$i" + fi + done + # symlink the mkspecs directory mkdir -p "$outpath/mkspecs" rm -f "$outpath"/mkspecs/* |