On Aug 27, 2015, at 6:02 PM, Geoff Beier wrote: > Assuming you're talking about OS X, it wasn't last time I looked into it. > curlbuild.h differed. > > What we do is build one with -arch x86_64, copy curlbuild.h to > curlbuild64.h, build one with -arch i386, copy curlbuild.h to curlbuild32.h, > lipo the libraries together, then create a new curlbuild.h > > cat > include/curl/curlbuild.h <<EOF > #ifdef __LP64__ > #include "curlbuild64.h" > #else > #include "curlbuild32.h" > #endif > EOF > > > This still works in our build system. I have not revisited it to determine > whether it's still necessary.
This is essentially what MacPorts does when it builds curl. I just verified that even with curl 7.44.0 there are still vast differences in the copies of curlbuild.h built for i386 and x86_64 such that this procedure is still necessary. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
