Skip to content

Commit

Permalink
Call correct function in setup.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Nov 5, 2024
1 parent 218f7eb commit bfeee18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit bfeee18

Please sign in to comment.