summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-29 14:15:55 -0500
committerJeff Carr <[email protected]>2025-10-29 14:15:55 -0500
commit03f1b2fe197c894bd5ef285eac0167ed987d7f02 (patch)
tree2e52f1b9fea6f4313e41a89eded18a177148501e
parent86aa5fb001bb873da1a491391f12b17a1a1990a0 (diff)
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9d335b2..34e08a2 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,10 @@ gocui:
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install:
- go build -buildmode=plugin -o ~/go/lib/gocui-${VERSION}.so \
+ mkdir -p ~/go/lib/plugins
+ go build -buildmode=plugin -o ~/go/lib/plugins/gocui-${VERSION}.so \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
- cd ~/go/lib && ln -f -s gocui-${VERSION}.so gocui.so
+ cd ~/go/lib/plugins/ && ln -f -s gocui-${VERSION}.so gocui.so
# for testing custom golang
custom: