diff --git a/pygomx-module/build_ffi.py b/pygomx-module/build_ffi.py index 15d9267..5e0d938 100644 --- a/pygomx-module/build_ffi.py +++ b/pygomx-module/build_ffi.py @@ -10,7 +10,7 @@ lib_list = [ # keep defaults in sync with setup.py if ( os.getenv("PYGOMX_BUILD_MODE", "static") == "static" - and os.getenv("PYGOMX_OLM_FLAVOR", colm) == "colm" + and os.getenv("PYGOMX_OLM_FLAVOR", "colm") == "colm" ): lib_list += ["olm"] diff --git a/pygomx-module/setup.py b/pygomx-module/setup.py index dbbc7ae..506b9db 100644 --- a/pygomx-module/setup.py +++ b/pygomx-module/setup.py @@ -47,11 +47,11 @@ class CustomCommand(Command): go_call = [ "go", "build", - f"-buildmode=${build_mode_name}", + f"-buildmode={build_mode_name}", "-tags", ",".join(go_tags), "-o", - f"../pygomx-module/libmxclient${build_mode_ext}", + f"../pygomx-module/libmxclient{build_mode_ext}", ".", ] subprocess.call(go_call, cwd="../libmxclient")