Hello *,

I am trying to build zeromq on OS X so that it is linked with libstdc++,
since we have module/lib which can't be rebuild against libc++ (at least we
don't have source code for it). No matter what I do libzmq is always linked
with libc++:

otool -L src/.libs/libzmq.3.dylib
src/.libs/libzmq.3.dylib:
    /usr/local/lib/libzmq.3.dylib (compatibility version 4.0.0, current
version 4.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
120.0.0)

I currently tried:

../configure --srcdir=.. CC=gcc CXX=g++ CXXFLAGS="-stdlib=libstdc++"
LDFLAGS="-v -L/usr/local/lib/ -stdlib=libstdc++" LIBS="-stdlib=libstdc++"

I would be very thankful for any suggestions.

Many thanks,
Ovanes
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to