Hi,
> Hi, list
>
> Tried to build with USE_STATIC_PCRE=1 but failed, error:
>
> .. ebtree/ebistree.o -L/usr/local/Cellar/pcre/8.35/lib -Wl,-Bstatic
> -lpcreposix -lpcre -Wl,-Bdynamic
> ld: unknown option: -Bstatic
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make: *** [haproxy] Error 1
>
> Seems Apple's ld doesn't support mixing static and dynamic libraries
> very well, how could I get around of this?
Configure/Build pcre with "--enable-shared=no", so you don't need
USE_STATIC_PCRE.
Regards,
Lukas