mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Do not create libganglia link if libganglia is not installed
This commit is contained in:
parent
3f8a2cb9b8
commit
bb9c6be741
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user