From avibahra at gmail.com Mon Nov 16 11:55:18 2020 From: avibahra at gmail.com (avib369) Date: Mon, 16 Nov 2020 16:55:18 +0000 Subject: [C++-sig] [python] python-extension control link step for -ldl -lpthread -lutil Message-ID: <51A43790-2EA7-4F8A-9326-9CF01C7EE9B7@gmail.com> In my project i build using python-extension: python-extension ecflow : [ glob src/*.cpp ] /theCore//core /theNodeAttr//nodeattr /theNode//node /theBase//base /theClient//libclient /theSimulator//libsimu /site-config//boost_filesystem /site-config//boost_program_options /site-config//boost_datetime /site-config//boost_python : debug:DEBUG acc:hpux_std_libs /site-config//openssl_libs ; I want to be able build both static/shared versions of the other boost libs, hence i choose: b2 link=static It appears that boost build for python-extension automatically adds -ldl -lpthread -lutil In the past my machine, had static versions of libdl.a, libpthread.a, libutil.a, and I could build both variants. However these file don?t exist on my new machine, only the shared libs. How can i now build statically, but use shared versions of -ldl -lpthread -lutil ? Best regards, Avi