Do not create libganglia link if libganglia is not installed

This commit is contained in:
Holger Obermaier 2022-02-17 08:03:55 +01:00
parent 3f8a2cb9b8
commit bb9c6be741

View File

@ -2,7 +2,9 @@
all: libganglia.so all: libganglia.so
libganglia.so: libganglia.so:
@find /usr -readable -name "libganglia.so*" -exec ln -sf {} libganglia.so \; @find /usr -readable -name "libganglia.so*" -print0 | \
xargs --null --no-run-if-empty --replace \
ln --symbolic --verbose --force '{}' libganglia.so
clean: clean: