From 5c24cf5ecb2a423826d77c7ec3e2dc3d5e93c7ea Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 9 Jun 2019 11:31:54 +0100 Subject: Get glibmm and libxml++ flags from pkg-config --- Jamroot.jam | 36 ++++-------------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index d3bb409..562dcd2 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -21,41 +21,13 @@ build-project gentoobrowse-api ; # Some useful aliases -lib xml++-3.0 ; -lib xml2 ; -lib glibmm-2.4 ; -lib gobject-2.0 ; -lib glib-2.0 ; -lib sigc-2.0 ; - alias libxmlpp : : : : - /usr/include/libxml++-3.0 - /usr/lib/libxml++-3.0/include - /usr/include/libxml2 - /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 - xml++-3.0 - xml2 - glibmm-2.4 - gobject-2.0 - glib-2.0 - sigc-2.0 + "`pkg-config libxml++-3.0 --cflags`" + "`pkg-config libxml++-3.0 --libs`" ; 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 glibmm-2.4 --cflags`" + "`pkg-config glibmm-2.4 --libs`" ; -- cgit v1.2.3