From 6c04e56bd0474dbbd0eceeaa51a9180a5b8982d6 Mon Sep 17 00:00:00 2001 From: Jean Senellart Date: Sat, 7 May 2022 09:15:52 +0200 Subject: [PATCH] generate .so file instead of dylib --- machine_cfg.py.MacOSX | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/machine_cfg.py.MacOSX b/machine_cfg.py.MacOSX index 6ad3d5bb..5c60cf44 100644 --- a/machine_cfg.py.MacOSX +++ b/machine_cfg.py.MacOSX @@ -15,11 +15,6 @@ # # All ports built for x86_64 as per MacPorts default on recent 64-bit machines -# Known bugs: -# Currently installs a _camfr.dylib file into the module folder. This needs to be renamed to _camfr.so for Python to use it. -# Command to rename the file before using CAMFR in python (triple-click to select): -# mv /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/camfr/_camfr.dylib /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/camfr/_camfr.so - # Demis D. John, 2018-02-27, demis@ucsb.edu ############################################ @@ -30,7 +25,7 @@ cxx = "/usr/bin/g++" f77 = "/usr/local/gfortran/bin/gfortran" link = cxx -link_flags = " -undefined dynamic_lookup -dynamic" #-dynamic -single_module -undefined dynamic_lookup" +link_flags = " -undefined dynamic_lookup -dynamic -o camfr/_camfr.so" #-dynamic -single_module -undefined dynamic_lookup" # Compiler flags. # # Note: for the Fortran name definition you can define one of the following