Closed ryandietrich closed 7 years ago
The strip command on Mac requires -x or it gets angry.
index 4d3468b..efc8c8e 100755 --- a/src/picohttpparser/build +++ b/src/picohttpparser/build @@ -4,4 +4,10 @@ set -ex gcc -c picohttpparser.c -O3 -fpic -msse4.2 gcc -shared -o libpicohttpparser.so picohttpparser.o -strip libpicohttpparser.so +if [[ `uname` == "Darwin" ]] +then + strip -x libpicohttpparser.so +else + strip libpicohttpparser.so +fi +
Can you make a pull request, I'm away from my laptop unfortunately and wont graft this easily on my phone? Thanks
Thanks.
The strip command on Mac requires -x or it gets angry.