diff options
Diffstat (limited to 'numpy/random/setup.py')
-rw-r--r-- | numpy/random/setup.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/random/setup.py b/numpy/random/setup.py index 104a7986a..6ec65ee19 100644 --- a/numpy/random/setup.py +++ b/numpy/random/setup.py @@ -6,11 +6,7 @@ def configuration(parent_package='',top_path=None): def generate_libraries(ext, build_dir): config_cmd = config.get_config_cmd() - if top_path is None: - libs = get_mathlibs() - else: - path = join(split(build_dir)[0],'core') - libs = get_mathlibs(path) + libs = get_mathlibs() tc = testcode_wincrypt() if config_cmd.try_run(tc): libs.append('Advapi32') |