diff --git a/waku/Makefile b/waku/Makefile index b3b3ebc..4b7f41e 100644 --- a/waku/Makefile +++ b/waku/Makefile @@ -1,7 +1,7 @@ # Makefile for Waku Go Bindings # Directories -THIRD_PARTY_DIR := ../third_party +THIRD_PARTY_DIR := ../third-party NWAKU_REPO := https://github.com/waku-org/nwaku NWAKU_DIR := $(THIRD_PARTY_DIR)/nwaku @@ -12,13 +12,8 @@ all: build # Prepare third_party directory and clone nwaku prepare: - @echo "Creating third_party directory..." - @mkdir -p $(THIRD_PARTY_DIR) - @echo "Cloning nwaku repository..." @if [ ! -d "$(NWAKU_DIR)" ]; then \ - cd $(THIRD_PARTY_DIR) && \ - git clone $(NWAKU_REPO) && \ cd $(NWAKU_DIR) && \ make update; \ else \ diff --git a/waku/nwaku.go b/waku/nwaku.go index fbeb0f0..c9c10d2 100644 --- a/waku/nwaku.go +++ b/waku/nwaku.go @@ -1,10 +1,10 @@ package waku /* - #cgo LDFLAGS: -L../third_party/nwaku/build/ -lwaku - #cgo LDFLAGS: -L../third_party/nwaku -Wl,-rpath,../third_party/nwaku/build/ + #cgo LDFLAGS: -L../third-party/nwaku/build/ -lwaku + #cgo LDFLAGS: -L../third-party/nwaku -Wl,-rpath,../third-party/nwaku/build/ - #include "../third_party/nwaku/library/libwaku.h" + #include "../third-party/nwaku/library/libwaku.h" #include #include