1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

update README with known good OSX configure

Christopher Baker sent in a working OSX configure string,
add it to the README

Reported-by: Christopher Baker <me@christopherbaker.net>
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2011-02-28 07:48:27 +00:00
parent d4302734d7
commit a54986f36e

View file

@ -6,9 +6,12 @@ needed:
./configure --prefix=/usr --libdir=/usr/lib64 --enable-openssl
For Apple systems, in addition to whatever other typical
configure magic you need, you will also need --enable-nofork and
it seems don't enable openssl.
For Apple systems, Christopher Baker reported that this is needed
(and I was told separately enabling openssl makes trouble somehow)
./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch
x86_64" CPP="gcc -E" CXXCPP="g++ -E" --enable-nofork
otherwise if /usr/local/... and /usr/local/lib are OK then...