mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 07:09:04 +01:00
Do not create link to libganglia.so.
libganglia.so is now loaded during runtime by dlopen and no longer required during link time
This commit is contained in:
parent
5742721cbd
commit
a97c705f4c
9
Makefile
9
Makefile
@ -21,13 +21,18 @@ all: $(APP)
|
||||
|
||||
$(APP): $(GOSRC)
|
||||
make -C collectors
|
||||
make -C sinks
|
||||
go get
|
||||
go build -o $(APP) $(GOSRC_APP)
|
||||
|
||||
.PHONY: clean
|
||||
.ONESHELL:
|
||||
clean:
|
||||
@for COMP in $(COMPONENT_DIRS); do if [ -e $$COMP/Makefile ]; then make -C $$COMP clean; fi; done
|
||||
@for COMP in $(COMPONENT_DIRS)
|
||||
do
|
||||
if [[ -e $$COMP/Makefile ]]; then
|
||||
make -C $$COMP clean
|
||||
fi
|
||||
done
|
||||
rm -f $(APP)
|
||||
|
||||
.PHONY: fmt
|
||||
|
@ -1,12 +0,0 @@
|
||||
|
||||
all: libganglia.so
|
||||
|
||||
libganglia.so:
|
||||
@find /usr ! -readable -prune -o -type d ! -executable -prune -o -name "$@*" -print0 | \
|
||||
xargs --null --no-run-if-empty --replace \
|
||||
ln --symbolic --verbose --force '{}' "$@"
|
||||
|
||||
clean:
|
||||
rm -f libganglia.so
|
||||
|
||||
.PHONY: clean
|
Loading…
Reference in New Issue
Block a user