--- a/configure Sun Dec 04 13:01:00 2022 +0100 +++ b/configure Thu Feb 23 21:09:33 2023 +0100 @@ -283,14 +283,6 @@ return 0 done - # dependency openssl - while true - do - LDFLAGS="$LDFLAGS -lssl -lcrypto" - echo yes - return 0 - done - echo no return 1 } @@ -313,6 +305,19 @@ return 0 done + # dependency libxml2 + while true + do + xml2-config --cflags > /dev/null + if [ $? -eq 0 ]; then + CFLAGS="$CFLAGS `xml2-config --cflags`" + else + break + fi + echo yes + return 0 + done + echo no return 1 } @@ -341,6 +346,10 @@ LIB_EXT = .so APP_EXT = +# ld flags +UCX_SO_NAME = +RPATH_WS_LIB_FLAG = -Wl,-rpath,'$$ORIGIN/../lib' + __EOF__ break @@ -370,6 +379,10 @@ LIB_EXT = .so APP_EXT = +# ld flags +UCX_SO_NAME = +RPATH_WS_LIB_FLAG = -Wl,-rpath,'$$ORIGIN/../lib' + __EOF__ break @@ -396,6 +409,10 @@ LIB_EXT = .dylib APP_EXT = +# ld flags +UCX_SO_NAME = -install_name @rpath/libucx.dylib +RPATH_WS_LIB_FLAG = -rpath @loader_path/../lib + __EOF__ break