Skip to content

Commit

Permalink
Do not set runtime_library_dirs on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Sep 27, 2021
1 parent 7fd170b commit 038fbff
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions brian2/codegen/cpp_prefs.py
Expand Up @@ -179,13 +179,14 @@
'''
),
runtime_library_dirs=BrianPreference(
default=[os.path.join(prefix_dir, 'lib')],
default=[os.path.join(prefix_dir, 'lib')]
if sys.platform != 'win32' else [],
docs='''
List of directories to search for C/C++ libraries at run time.
The default value is ``$prefix/lib`` (or ``$prefix/Library/lib``
on Windows), where ``$prefix`` is Python's site-specific directory
prefix as returned by `sys.prefix`. This will make compilation use
library files installed into a conda environment.
The default value is ``$prefix/lib`` (not used on Windows), where
``$prefix`` is Python's site-specific directory prefix as returned by
`sys.prefix`. This will make compilation use library files installed
into a conda environment.
'''
),
libraries=BrianPreference(
Expand Down

0 comments on commit 038fbff

Please sign in to comment.