summaryrefslogtreecommitdiff
path: root/pyximport
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2012-08-06 13:27:24 +0200
committerStefan Behnel <stefan_ml@behnel.de>2012-08-06 13:27:24 +0200
commit2000b13b2003fc45c6ab7985dc8dacb946b11ad4 (patch)
tree53d1cbc9439eb4c66a152db765ab00a20553352e /pyximport
parentbe264974b24cd3b27115de21daa087cc942c5a29 (diff)
downloadcython-2000b13b2003fc45c6ab7985dc8dacb946b11ad4.tar.gz
fix command line switch
Diffstat (limited to 'pyximport')
-rw-r--r--pyximport/pyxbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyximport/pyxbuild.py b/pyximport/pyxbuild.py
index 87a4f05ba..02e733165 100644
--- a/pyximport/pyxbuild.py
+++ b/pyximport/pyxbuild.py
@@ -56,7 +56,7 @@ def pyx_to_dll(filename, ext = None, force_rebuild = 0,
if force_rebuild:
args.append("--force")
if inplace and package_base_dir:
- args.extend(['--build_lib', package_base_dir])
+ args.extend(['--build-lib', package_base_dir])
if HAS_CYTHON and build_in_temp:
args.append("--pyrex-c-in-temp")
sargs = setup_args.copy()