#29 Fix building and running under macOS

Unito
carlos.garcia ha unito 1 commit da stefan.schmidt/macos-buildfix a SPIN/master 6 anni fa
Stefan Schmidt ha commentato 6 anni fa

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.
Questo contributo è stato incluso con successo!
Sign in to join this conversation.
Nessuna etichetta
Bug
Nessuna milestone
Nessun assegnatario
1 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.