summaryrefslogtreecommitdiff
path: root/parallel/pocl/patches/patch-lib_CL_devices_hsa_pocl-hsa.c
blob: 6fb8116f9eaf114a31330f1e08930b4b2017f4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-lib_CL_devices_hsa_pocl-hsa.c,v 1.2 2021/06/10 12:26:26 nia Exp $

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

--- lib/CL/devices/hsa/pocl-hsa.c.orig	2021-05-19 08:12:19.000000000 +0000
+++ lib/CL/devices/hsa/pocl-hsa.c
@@ -73,8 +73,8 @@
 
 #endif
 
-#ifndef HAVE_LIBDL
-#error HSA driver requires DL library
+#ifndef HAVE_DLFCN_H
+#error HSA driver requires dlopen
 #endif
 
 #include "pocl-hsa.h"