summaryrefslogtreecommitdiff
path: root/src/boot/efi/no-undefined-symbols.sh
blob: 4d9208282528c831ab1b051c79754b2553cec980 (plain)
1
2
3
4
5
6
#!/bin/sh -e

if nm -D -u "$1" | grep ' U '; then
    echo "Undefined symbols detected!"
    exit 1
fi