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

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