From 181ac2882aa4fa3d3d0d9a805ddadb5321edf602 Mon Sep 17 00:00:00 2001 From: David Piuva Date: Mon, 8 Apr 2024 20:58:35 +0200 Subject: [PATCH] Linking to m and pthread explicitly from DFPSR.DsrHead, to work on Raspberry Pi with the new build system. --- Source/DFPSR/DFPSR.DsrHead | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/DFPSR/DFPSR.DsrHead b/Source/DFPSR/DFPSR.DsrHead index bdf3bfe..e2a73de 100644 --- a/Source/DFPSR/DFPSR.DsrHead +++ b/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"