diff options
author | Alexandre Pretyman <alexandre.pretyman@gmail.com> | 2015-07-14 13:12:38 (GMT) |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-07-17 09:58:59 (GMT) |
commit | 3b9e7913a6d14cb09ed91ce8a1110955bda200ef (patch) | |
tree | d6a90eb7c9ac67ec50905f91c22fe9b1177d9a9a /configure.ac | |
parent | f6886c2c33a1cf8771163919f3d20f6340c0ce38 (diff) | |
download | patchelf-3b9e7913a6d14cb09ed91ce8a1110955bda200ef.zip patchelf-3b9e7913a6d14cb09ed91ce8a1110955bda200ef.tar.gz patchelf-3b9e7913a6d14cb09ed91ce8a1110955bda200ef.tar.bz2 |
Change configure.ac from OpenWrt to support Mac OS
This change is from the OpenWrt project, from the URL:
https://dev.openwrt.org/ticket/18998
It enables patchelf to sucessfully compile and run under Mac OS and
keeps compatibility with Linux.
Tested under Mac OS X 10.9.5 and Ubuntu 15.04 to patch a binary of type
ELF 32-bit LSB executable - the patch fully worked
This patch is credited to Felix Fietkau
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8ca9ad4..69e12de 100644 --- 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]) |