Skip to content
Snippets Groups Projects
Commit ad24e2b4 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'samuela-master-patch-72959' into 'master'

Fix sed call to work on macOS

See merge request !231
parents 01c21e7e c047c879
No related branches found
No related tags found
1 merge request!231Fix sed call to work on macOS
...@@ -19,7 +19,9 @@ function recipe_build { ...@@ -19,7 +19,9 @@ function recipe_build {
--prefix=/ \ --prefix=/ \
--enable-static \ --enable-static \
cross_compiling=yes cross_compiling=yes
sed -i 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
# See https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux.
sed -i'' -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
make -j"$(nproc)" make -j"$(nproc)"
skip=1 skip=1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment