Create an empty libganglia.so stub if none exists

This commit is contained in:
Holger Obermaier 2022-02-18 15:43:52 +01:00
parent d9a81501e5
commit e8adf5b909

View File

@ -2,9 +2,10 @@
all: libganglia.so all: libganglia.so
libganglia.so: libganglia.so:
@find /usr -readable -name "libganglia.so*" -print0 | \ @find /usr ! -readable -prune -o -type d ! -executable -prune -o -name "$@*" -print0 | \
xargs --null --no-run-if-empty --replace \ xargs --null --no-run-if-empty --replace \
ln --symbolic --verbose --force '{}' libganglia.so ln --symbolic --verbose --force '{}' "$@"
@if [[ ! -e "$@" ]]; then touch "$@"; fi
clean: clean: