[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Use prefixed strings command from distro.
From: |
Julien Durillon |
Subject: |
[PATCH] Use prefixed strings command from distro. |
Date: |
Fri, 25 Mar 2022 11:21:34 +0100 |
All the other tools can be prefixed/overriden by distro builders, but
strings. This makes the build work in build packages like the Exherbo
one.
Signed-off-by: Julien Durillon <julien.durillon@clever-cloud.com>
---
configure | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 6d9cb23ac5..c891b8c6ea 100755
--- a/configure
+++ b/configure
@@ -427,6 +427,7 @@ ranlib="${RANLIB-${cross_prefix}ranlib}"
nm="${NM-${cross_prefix}nm}"
smbd="$SMBD"
strip="${STRIP-${cross_prefix}strip}"
+strings="${STRINGS-${cross_prefix}strings}"
windres="${WINDRES-${cross_prefix}windres}"
pkg_config_exe="${PKG_CONFIG-${cross_prefix}pkg-config}"
query_pkg_config() {
@@ -1671,9 +1672,9 @@ int main(int argc, char *argv[])
EOF
if compile_prog ; then
- if strings -a $TMPE | grep -q BiGeNdIaN ; then
+ if $strings -a $TMPE | grep -q BiGeNdIaN ; then
bigendian="yes"
- elif strings -a $TMPE | grep -q LiTtLeEnDiAn ; then
+ elif $strings -a $TMPE | grep -q LiTtLeEnDiAn ; then
bigendian="no"
else
echo big/little test failed
--
2.35.1
- [PATCH] Use prefixed strings command from distro.,
Julien Durillon <=