ソースを参照

Linking to m and pthread explicitly from DFPSR.DsrHead, to work on Raspberry Pi with the new build system.

David Piuva 1 年間 前
コミット
181ac2882a
1 ファイル変更6 行追加0 行削除
  1. 6 0
      Source/DFPSR/DFPSR.DsrHead

+ 6 - 0
Source/DFPSR/DFPSR.DsrHead

@@ -23,6 +23,12 @@ if Windows
 	Message "Building for Windows\n"
 end if
 
+# Standard math library
+Link "m"
+
+# Standard threading library
+Link "pthread"
+
 # Paths are relative to the current script, even if imported somewhere else
 #   so we use .. to leave the Source/DFPSR folder and then go into the windowManagers folder.
 WindowManager = "../windowManagers/NoWindow.cpp"