From 6e2401a027c4be0fb20b007207b3a89fd226561b Mon Sep 17 00:00:00 2001
From: Steve Bennett <steveb@workware.net.au>
Date: Tue, 5 Apr 2022 09:20:46 +1000
Subject: build: Use $libdir rather than $prefix/lib

Makes it easier to override

Signed-off-by: Steve Bennett <steveb@workware.net.au>
---
 auto.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'auto.def')

diff --git a/auto.def b/auto.def
index 8b797e4..06e27f5 100644
--- a/auto.def
+++ b/auto.def
@@ -271,7 +271,7 @@ cc-with {-includes fcntl.h} {
 cc-check-lfs
 cc-check-functions fseeko ftello
 
-define TCL_LIBRARY [get-define prefix]/lib/jim
+define TCL_LIBRARY [get-define libdir]/jim
 
 lassign [split [get-define host] -] host_cpu host_vendor host_os
 # Scrub revision from the host_os
-- 
cgit v1.1

