summaryrefslogtreecommitdiff
path: root/lib/libGL/gallium/Makefile.inc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-11-11 12:09:10 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-11-11 12:09:10 +0000
commita2f9e4985e2f3317cf670556692f4265a7bc60f7 (patch)
tree18d078dde7294bf53d8066f75c775157806253cf /lib/libGL/gallium/Makefile.inc
parent8824b7933ffd2c64df488bb078a9ca1dc6677170 (diff)
Link libGL with -lpthread to allow the llvm-pipe driver to be loaded.
ok matthieu@, ajacoutot@
Diffstat (limited to 'lib/libGL/gallium/Makefile.inc')
-rw-r--r--lib/libGL/gallium/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libGL/gallium/Makefile.inc b/lib/libGL/gallium/Makefile.inc
index f17179f46..7a9ac5829 100644
--- a/lib/libGL/gallium/Makefile.inc
+++ b/lib/libGL/gallium/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.1 2012/07/13 12:43:30 mpi Exp $
+# $OpenBSD: Makefile.inc,v 1.2 2012/11/11 12:09:09 mpi Exp $
CPP= cpp -notraditional
@@ -31,12 +31,12 @@ LLVM_CONFIG?= /usr/local/bin/llvm-config
LLVM_CFLAGS!= ${LLVM_CONFIG} --cflags
LLVM_CPPFLAGS!= ${LLVM_CONFIG} --cxxflags
-LLVM_LDFLAGS!= ${LLVM_CONFIG} --ldflags
+LLVM_LIBDIR!= ${LLVM_CONFIG} --libdir
LLVM_LIBS!= ${LLVM_CONFIG} --libs engine
CFLAGS+= ${LLVM_CFLAGS} -std=gnu99
CXXFLAGS= ${LLVM_CPPFLAGS}
-LDADD+= ${LLVM_LDFLAGS} ${LLVM_LIBS}
+LDADD+= -L${LLVM_LIBDIR} ${LLVM_LIBS}
CPPFLAGS+= \
-DGALLIUM_LLVMPIPE \