Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/gallium Handle objdir correctly.
details: https://anonhg.NetBSD.org/src/rev/1ff0993b0617
branches: trunk
changeset: 455591:1ff0993b0617
user: rin <rin%NetBSD.org@localhost>
date: Sun Apr 07 05:28:09 2019 +0000
description:
Handle objdir correctly.
diffstat:
external/mit/xorg/lib/gallium/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 9d46ed0c8283 -r 1ff0993b0617 external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile Sun Apr 07 05:25:55 2019 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile Sun Apr 07 05:28:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2019/04/03 15:26:34 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2019/04/07 05:28:09 rin Exp $
# Link the gallium mega driver.
@@ -1021,8 +1021,10 @@
Support
.for llvm_library in ${LLVM_LIBS}
-DPADD+= ${LLVM_LIB_DIR}/libLLVM${llvm_library}/libLLVM${llvm_library}_pic.a
-LDADD+= ${LLVM_LIB_DIR}/libLLVM${llvm_library}/libLLVM${llvm_library}_pic.a
+dir!= cd ${LLVM_LIB_DIR}/libLLVM${llvm_library}; ${PRINTOBJDIR}
+lib= ${dir}/libLLVM${llvm_library}_pic.a
+DPADD+= ${lib}
+LDADD+= ${lib}
.endfor
.endif # ${BUILD_LLVM_PIPE} == 1 || ${BUILD_RADEON} == 1
Home |
Main Index |
Thread Index |
Old Index