#29 Fix building and running under macOS

Sapludināts
carlos.garcia sapludināja 1 revīzijas no stefan.schmidt/macos-buildfix uz SPIN/master 6 gadi atpakaļ

These two changes make ID2T build and run under macOS. The changes were also tested on Arch Linux to make sure nothing breaks.

The change in build.sh was done by me, it introduces a new dependency (on GNU coreutils) which is easily installed via brew. The change in CMakeLists.txt was done by Roey. While the usual extension for dynamic libraries on macOS is .dylib, Python will only load .so libraries, so this workaround is necessary.

These two changes make ID2T build and run under macOS. The changes were also tested on Arch Linux to make sure nothing breaks. The change in build.sh was done by me, it introduces a new dependency (on GNU coreutils) which is easily installed via brew. The change in CMakeLists.txt was done by Roey. While the usual extension for dynamic libraries on macOS is .dylib, Python will only load .so libraries, so this workaround is necessary.
Šo izmaiņu pieprasījums tika veiksmīgi sapludināts!
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Bug
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.