#29 Fix building and running under macOS

Слито
carlos.garcia слито 1 коммит(ов) из stefan.schmidt/macos-buildfix в SPIN/master 6 лет назад
Stefan Schmidt прокомментировал 6 лет назад

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.
Слияние этого запроса успешно завершено!
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Bug
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.