Browse Source

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

David Piuva 1 year ago
parent
commit
181ac2882a
1 changed files with 6 additions and 0 deletions
  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"