aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto.def2
-rw-r--r--build-jim-ext.in4
2 files changed, 3 insertions, 3 deletions
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
diff --git a/build-jim-ext.in b/build-jim-ext.in
index ce9ddf6..b312bee 100644
--- a/build-jim-ext.in
+++ b/build-jim-ext.in
@@ -41,7 +41,7 @@ for {set i 0} {$i < [llength $argv]} {incr i} {
set cross 1
}
--install {
- # Install to $DESTDIR/@prefix@/lib/jim
+ # Install to $DESTDIR/@libdir@/jim
set install 1
}
--static {
@@ -225,7 +225,7 @@ if {$static} {
load ./$target
}
if {$install} {
- set dest [env DESTDIR ""]@prefix@/lib/jim
+ set dest [env DESTDIR ""]@libdir@/jim
puts "Install: $target => $dest"
file mkdir $dest
file copy $target $dest/$target