Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions native_client/definitions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ TOOL_LDD := ldd
TOOL_LIBEXE :=

OS := $(shell uname -s)
PROCESSOR := $(shell uname -p)

ifeq ($(findstring _NT,$(OS)),_NT)
PLATFORM_EXE_SUFFIX := .exe
Expand Down Expand Up @@ -51,7 +52,11 @@ SOX_LDFLAGS := `pkg-config --libs sox`
endif # OS others
PYTHON_PACKAGES := numpy${NUMPY_BUILD_VERSION}
ifeq ($(OS),Linux)
ifeq ($(PROCESSOR),x86_64)
PYTHON_PLATFORM_NAME ?= --plat-name manylinux1_x86_64
else
PYTHON_PLATFORM_NAME ?= --plat-name linux_${PROCESSOR}
endif
endif
endif

Expand Down