summaryrefslogtreecommitdiff
path: root/parallel/pocl/patches/patch-config.h.in.cmake
blob: 7611e097fb20d456334138a20e34a83c1b43de1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-config.h.in.cmake,v 1.2 2021/06/10 12:26:26 nia Exp $

Fix detection of dlopen
https://github.com/pocl/pocl/pull/950

--- config.h.in.cmake.orig	2021-05-19 08:12:19.000000000 +0000
+++ config.h.in.cmake
@@ -35,6 +35,8 @@
 
 #cmakedefine ENABLE_SPIRV
 
+#cmakedefine HAVE_DLFCN_H
+
 #cmakedefine HAVE_FORK
 
 #cmakedefine HAVE_VFORK
@@ -57,8 +59,6 @@
 
 #cmakedefine HAVE_LTTNG_UST
 
-#cmakedefine HAVE_LIBDL
-
 #cmakedefine HAVE_OCL_ICD
 
 #cmakedefine HAVE_POSIX_MEMALIGN