[clinfo] 14/36: libdl only needed on Linux

Andreas Beckmann anbe at moszumanska.debian.org
Wed Feb 17 18:32:37 UTC 2016


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

anbe pushed a commit to branch master
in repository clinfo.

commit 059c409175e11ebcd81f0f268d2eb3a9f5d157ae
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Dec 9 17:53:02 2015 +0100

    libdl only needed on Linux
---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d522e44..f9695e4 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,10 @@ ifeq ($(PLATFORM),Darwin)
 else
   LDLIBS=-lOpenCL
 endif
-LDLIBS += -ldl
+
+ifeq ($(PLATFORM),Linux)
+  LDLIBS += -ldl
+endif
 
 CFLAGS+=-std=c99 -g -Wall -Wextra
 

-- 
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