improve 64 libdir detection on solaris

Sat, 29 Nov 2025 18:11:18 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 29 Nov 2025 18:11:18 +0100
changeset 167
fa31a6d0ec56
parent 166
9bb4b40d61b7
child 168
4cd9757c1ad9

improve 64 libdir detection on solaris

src/main/resources/make/configure.vm file | annotate | diff | comparison | revisions
test/configure file | annotate | diff | comparison | revisions
test/configure2 file | annotate | diff | comparison | revisions
test/make/configure.vm file | annotate | diff | comparison | revisions
--- a/src/main/resources/make/configure.vm	Sat Nov 29 17:36:36 2025 +0100
+++ b/src/main/resources/make/configure.vm	Sat Nov 29 18:11:18 2025 +0100
@@ -264,7 +264,7 @@
     # try to detect the correct libdir on our own, except it was changed by the user
     if test "$libdir" = '${exec_prefix}/lib'; then
         if [ "$OS" = "SunOS" ]; then
-            test -d "${exec_prefix}/lib/amd64" && libdir='${exec_prefix}/lib/amd64'
+            test -d "${exec_prefix}/lib/64" && libdir='${exec_prefix}/lib/64'
         else
             # check if the standard libdir even exists
             if test -d "${exec_prefix}/lib" ; then
--- a/test/configure	Sat Nov 29 17:36:36 2025 +0100
+++ b/test/configure	Sat Nov 29 18:11:18 2025 +0100
@@ -251,7 +251,7 @@
     # try to detect the correct libdir on our own, except it was changed by the user
     if test "$libdir" = '${exec_prefix}/lib'; then
         if [ "$OS" = "SunOS" ]; then
-            test -d "${exec_prefix}/lib/amd64" && libdir='${exec_prefix}/lib/amd64'
+            test -d "${exec_prefix}/lib/64" && libdir='${exec_prefix}/lib/64'
         else
             # check if the standard libdir even exists
             if test -d "${exec_prefix}/lib" ; then
--- a/test/configure2	Sat Nov 29 17:36:36 2025 +0100
+++ b/test/configure2	Sat Nov 29 18:11:18 2025 +0100
@@ -290,7 +290,7 @@
     # try to detect the correct libdir on our own, except it was changed by the user
     if test "$libdir" = '${exec_prefix}/lib'; then
         if [ "$OS" = "SunOS" ]; then
-            test -d "${exec_prefix}/lib/amd64" && libdir='${exec_prefix}/lib/amd64'
+            test -d "${exec_prefix}/lib/64" && libdir='${exec_prefix}/lib/64'
         else
             # check if the standard libdir even exists
             if test -d "${exec_prefix}/lib" ; then
--- a/test/make/configure.vm	Sat Nov 29 17:36:36 2025 +0100
+++ b/test/make/configure.vm	Sat Nov 29 18:11:18 2025 +0100
@@ -264,7 +264,7 @@
     # try to detect the correct libdir on our own, except it was changed by the user
     if test "$libdir" = '${exec_prefix}/lib'; then
         if [ "$OS" = "SunOS" ]; then
-            test -d "${exec_prefix}/lib/amd64" && libdir='${exec_prefix}/lib/amd64'
+            test -d "${exec_prefix}/lib/64" && libdir='${exec_prefix}/lib/64'
         else
             # check if the standard libdir even exists
             if test -d "${exec_prefix}/lib" ; then

mercurial