mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-19 03:11:41 +02:00
Do not create libganglia link if libganglia is not installed
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
all: 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:
|
||||
|
Reference in New Issue
Block a user