[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: relocatable-prog: Add support for 32-bit build on FreeBSD/powerpc64
From: |
Bruno Haible |
Subject: |
Re: relocatable-prog: Add support for 32-bit build on FreeBSD/powerpc64 |
Date: |
Mon, 26 Aug 2024 21:42:02 +0200 |
> * build-aux/config.libpath: Accept a second argument. Use it on
> FreeBSD/powerpc64.
> (func_usage): Document it.
Oops, there was a mistake here. Fixed as follows:
2024-08-26 Bruno Haible <bruno@clisp.org>
relocatable-prog: Fix config.libpath failure (regression 2024-08-24).
* build-aux/config.libpath: Expect 2 arguments, not 1.
diff --git a/build-aux/config.libpath b/build-aux/config.libpath
index ba0f94426b..a4da78823c 100755
--- a/build-aux/config.libpath
+++ b/build-aux/config.libpath
@@ -94,10 +94,10 @@ while test $# -gt 0; do
esac
done
-if test $# -gt 1; then
+if test $# -gt 2; then
func_fatal_error "too many arguments"
fi
-if test $# -lt 1; then
+if test $# -lt 2; then
func_fatal_error "too few arguments"
fi