[clinfo] 13/55: The dynamic linker is needed everywhere

Andreas Beckmann anbe at moszumanska.debian.org
Sat Jan 13 14:39:59 UTC 2018


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository clinfo.

commit 33515c77a28ca016579f3dbe87ce2a62d30aeb18
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Thu Feb 9 13:06:07 2017 +0100

    The dynamic linker is needed everywhere
    
    Link to it unconditionally.
---
 Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 7f2ed48..0ba0c72 100644
--- a/Makefile
+++ b/Makefile
@@ -18,14 +18,12 @@ SPARSEFLAGS=-Wsparse-all -Wno-decl
 RM ?= rm -f
 
 # Common library includes
-LDLIBS = -lOpenCL
+LDLIBS = -lOpenCL -ldl
 
 # OS-specific library includes
 LDLIBS_Darwin = -framework OpenCL
 LDLIBS_Darwin_exclude = -lOpenCL
 
-LDLIBS_Linux = -ldl
-
 LDLIBS += $(LDLIBS_${OS})
 
 # Remove -lOpenCL if OS is Darwin

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git



More information about the Pkg-opencl-commits mailing list