From bfeee1861fe74d05b068205c672bccf6d938623a Mon Sep 17 00:00:00 2001 From: Jono Yang Date: Tue, 5 Nov 2024 11:45:09 -0800 Subject: [PATCH] Call correct function in setup.py Signed-off-by: Jono Yang --- build.sh | 4 +--- setup.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 01fff12..231c912 100755 --- a/build.sh +++ b/build.sh @@ -8,11 +8,10 @@ set -e base_name=GoReSym-3.0.1 GOOS=linux - if [ $(uname -m) == 'aarch64' ]; then GOARCH="arm64" else - GOARCH="amd64" + GOARCH="amd64" fi cd lib-src/ @@ -22,7 +21,6 @@ tar -xf $base_name.tar.gz cd $base_name/ - echo Build GoReSym go build && mv GoReSym GoReSym_lin strip GoReSym_lin diff --git a/setup.py b/setup.py index 8bfa79a..d4cec68 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def run(self): class DevelopNative(setuptools_develop): def run(self): - self.execute(run_rpm_build, (), msg="Building develop native code") + self.execute(run_native_build, (), msg="Building develop native code") setuptools_develop.run(self)