From 1c432e9585371152d83b6dfe9334e130ea5483e8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 3 Feb 2019 21:27:07 +0000 Subject: Get glibmm and libxml2 flags from pkg-config --- Jamroot.jam | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 12b3750..8293aeb 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -3,6 +3,8 @@ import slice ; import package ; using gcc : : [ os.environ CXX ] ; +using pkg-config ; +import pkg-config ; variant coverage : debug ; @@ -45,22 +47,6 @@ lib IceBox : : IceBox++11 ; lib stdc++fs ; lib boost_date_time ; -lib xml2 : : : : /usr/include/libxml2 ; -lib glibmm-2.4 ; -lib gobject-2.0 ; -lib glib-2.0 ; -lib sigc-2.0 ; - -alias glibmm : : : : - /usr/include/glibmm-2.4 - /usr/lib/glibmm-2.4/include - /usr/include/glib-2.0 - /usr/lib/glib-2.0/include - /usr/include/sigc++-2.0 - /usr/lib/sigc++-2.0/include - glibmm-2.4 - gobject-2.0 - glib-2.0 - sigc-2.0 - ; +pkg-config.import xml2 : : libxml-2.0 ; +pkg-config.import glibmm : : glibmm-2.4 ; -- cgit v1.2.3