mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Create an empty libganglia.so stub if none exists
This commit is contained in:
parent
d9a81501e5
commit
e8adf5b909
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user