modal-inria / MixtComp

Model-based clustering package for mixed data
Other
12 stars 4 forks source link

Adding SUFFIX to target properties #27

Closed MostafaAbdelrashied closed 1 year ago

MostafaAbdelrashied commented 1 year ago

On Linux, the compiler generates by default a .so file and .dylib on macOS. Shared libraries with .dylib extensions are un-importable directly by a python script like a .so file. Ref: https://stackoverflow.com/questions/2488016/how-to-make-python-load-dylib-on-osx.

Therefore, a suffix is needed to force the compiler to generate a .so on macOS and Linux.