diff options
Diffstat (limited to 'scripts/build.py')
| -rwxr-xr-x | scripts/build.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build.py b/scripts/build.py index 9739c08204c..1b4306911dc 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -274,7 +274,10 @@ def package_qtcreator(args, paths): # use -mf=off to avoid usage of the ARM executable compression filter, # which cannot be extracted by p7zip - zip = ['7z', 'a', '-mmt' + args.zip_threads, '-mf=off'] + # use -snl to preserve symlinks even if their target doesn't exist + # which is important for the _dev package on Linux + # (only works with official/upstream 7zip) + zip = ['7z', 'a', '-mmt' + args.zip_threads, '-mf=off', '-snl'] if not args.no_zip: if not args.no_qtcreator: common.check_print_call(zip |
