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:
Holger Obermaier 2022-02-21 20:53:55 +01:00 committed by Holger Obermaier
parent 5742721cbd
commit a97c705f4c
2 changed files with 7 additions and 14 deletions

View File

@ -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

View File

@ -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