view deploy/linux/mark-for-signing @ 116:2405126aa5fe

Of course, the use of dll to build a plugin only works on Windows (where it's necessary because we have static_runtime defined), not on other platforms (where we have a lib- prefix on non-plugin libraries, and we don't have static runtime anyway). Fix and simplify with an additional qmake include file
author Chris Cannam
date Fri, 06 Mar 2020 13:32:45 +0000
parents 28b1dd4ee370
children
line wrap: on
line source
#!/bin/bash

set -e

usage() {
    echo "Usage: $0 <plugin-dir>" 1>&2
    exit 2
}    

dir="$1"

if [ ! -d "$dir" ]; then
    usage
fi

if [ -n "$2" ]; then
    usage
fi

set -u

touch "$dir"/.something-to-sign