In the siril/src folder, edit the Makefile.am file and suppress (two times) the string "-export-dynamic"