summaryrefslogtreecommitdiff
path: root/lang/fpc/files/patch-packages-opencl-src_cl.pp
blob: a45464f029ce326a27269bda9a3a3ba875248803 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- packages/opencl/src/cl.pp	2023-10-28 12:54:09.078367000 -0500
+++ packages/opencl/src/cl.pp	2023-10-28 12:54:33.911516000 -0500
@@ -55,7 +55,7 @@
   OpenCLlib = 'OpenCL.dll';
   {$DEFINE extdecl := stdcall}
 {$ELSE}
-  {$IFDEF LINUX}
+  {$IF DEFINED(LINUX) OR DEFINED(FREEBSD)}
   {$DEFINE DYNLINK}
 const
   OpenCLlib = 'libOpenCL.so';