mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +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