Skip to content

Commit

Permalink
tools/patchelf: fix portability issue breaking mac os x builds (#18998)
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 44493
  • Loading branch information
Felix Fietkau committed Feb 19, 2015
1 parent 0227827 commit 5dbd3e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/patchelf/patches/100-portability.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- 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])

0 comments on commit 5dbd3e6

Please sign in to comment.