I’ve found a way : Copy the folder /usr/incude/openssl from a Yosemite (MacOS 10.10) to /usr/local/include/openssl on my computer (El Capitan MacOS 10.11). Then compile apache by adding a flag to the compilation environment variables gcc and g++ : -I/usr/local/include/openssl Here are all the variables that I use : ARCH="-arch x86_64 -mmacosx-version-min=10.7" LDFLAGS="-O3 $ARCH" CFLAGS="-O3 -fno-common $ARCH" CXXFLAGS="-O3 -fno-common $ARCH" CC="gcc $ARCH -I/usr/local/include/openssl" CXX="gcc $ARCH -I/usr/local/include/openssl" CPP="gcc -E" CXXCPP="g++ -E » Regards, arnaud
|