2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 04:22:15 +00:00

Add ability to auto link process library

This commit is contained in:
tomy2105
2024-10-31 13:27:14 +01:00
committed by Klemens Morgenstern
parent 0f9dd52f02
commit 64fc05c55d

View File

@@ -151,6 +151,14 @@ BOOST_PROCESS_V2_END_NAMESPACE
#define BOOST_PROCESS_V2_DECL
#endif
#if !defined(BOOST_PROCESS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_PROCESS_NO_LIB)
#define BOOST_LIB_NAME boost_process
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROCESS_DYN_LINK)
#define BOOST_DYN_LINK
#endif
#include <boost/config/auto_link.hpp>
#endif
#if defined(BOOST_PROCESS_V2_POSIX)
#if defined(__linux__) && !defined(BOOST_PROCESS_V2_DISABLE_PIDFD_OPEN)