Skip to content
Snippets Groups Projects
Commit bcc75c18 authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[wip/genom3] Improve boost thread configuration for the ros/server template

Pass all the arguments to configure that ax_boost_thread expects, so that the
automatic detection of boost_thread is disabled. This this not only
cleaner/more robust but also fixes the configuration of genom3 components on
ubuntu-1310, where libboost_* have been moved to a subdirectory of /usr/lib
and the ax_boost_thread macros fail to find it automatically.
parent 0c2359ad
No related branches found
No related tags found
No related merge requests found
......@@ -86,11 +86,16 @@ define PKG_OPTION_SET.ros-server
TMPL1_WRKSRC+= ${TEMPLATES_WRKDIR}/ros/server
CONFIGURE_ARGS.${TEMPLATES_WRKDIR}/ros/server+=\
--with-boost=${PREFIX.boost-headers}
--with-boost=${PREFIX.boost-headers} \
--with-boost-libdir=$(dir ${SYSTEM_FILES.boost-lib-thread}) \
--with-boost-thread=boost_thread${BOOST_LIB_SUFFIX}
USE_BOOST_LIBS+= thread
pre-configure: genom3-autoreconf(ros/server)
include ../../devel/boost-headers/depend.mk
include ../../devel/boost-libs/depend.mk
include ../../devel/ros-ros/depend.mk
include ../../interfaces/ros-common-msgs/depend.mk
include ../../middleware/ros-actionlib/depend.mk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment