Commit d0407b8e53d8fdf59959037d6125eade715dbbfc
1 parent
ab4b6b32
build static library for testing only on Darwin
Showing
1 changed file
with
2 additions
and
1 deletions
pyext/setup.py.in
| ... | ... | @@ -60,7 +60,8 @@ if sys.platform.lower().startswith("darwin"): |
| 60 | 60 | # This is required on some system (such as Mac OS X) to avoid problems |
| 61 | 61 | # with finding the shared library during unit testing. |
| 62 | 62 | libcta='ctools' |
| 63 | -if is_unit_test: | |
| 63 | +#if is_unit_test: | |
| 64 | +if sys.platform.lower().startswith("darwin") and is_unit_test: | |
| 64 | 65 | |
| 65 | 66 | # Remove any existing symbolic link to libctools.a. This will |
| 66 | 67 | # prevent any exception in creating the symbolic link due to | ... | ... |