openwrtv3/tools/patchelf/patches/100-portability.patch
Felix Fietkau 5dbd3e65a6 tools/patchelf: fix portability issue breaking mac os x builds (#18998)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44493
2015-02-19 10:30:39 +00:00

8 lines
325 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([patchelf], m4_esyscmd([echo -n $(cat ./version)]))
+AC_INIT([patchelf], m4_esyscmd([printf $(cat ./version)]))
AC_CONFIG_SRCDIR([src/patchelf.cc])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 foreign color-tests parallel-tests])