summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-03 21:27:07 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-07-05 22:29:16 +0100
commit1c432e9585371152d83b6dfe9334e130ea5483e8 (patch)
tree50e99dc321c17046889fd5277b6208ef82288ebb /Jamroot.jam
parentRemove boost::filesystem in favour of std::filesystem (diff)
downloadmirrorsearch-0.2.1.1.tar.bz2
mirrorsearch-0.2.1.1.tar.xz
mirrorsearch-0.2.1.1.zip
Get glibmm and libxml2 flags from pkg-configmirrorsearch-0.2.1.1
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam22
1 files changed, 4 insertions, 18 deletions
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 : : <name>IceBox++11 ;
lib stdc++fs ;
lib boost_date_time ;
-lib xml2 : : : : <include>/usr/include/libxml2 ;
-lib glibmm-2.4 ;
-lib gobject-2.0 ;
-lib glib-2.0 ;
-lib sigc-2.0 ;
-
-alias glibmm : : : :
- <include>/usr/include/glibmm-2.4
- <include>/usr/lib/glibmm-2.4/include
- <include>/usr/include/glib-2.0
- <include>/usr/lib/glib-2.0/include
- <include>/usr/include/sigc++-2.0
- <include>/usr/lib/sigc++-2.0/include
- <library>glibmm-2.4
- <library>gobject-2.0
- <library>glib-2.0
- <library>sigc-2.0
- ;
+pkg-config.import xml2 : : <name>libxml-2.0 ;
+pkg-config.import glibmm : : <name>glibmm-2.4 ;