Commit a69f6d09 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add pkg-config.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40957 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b2607fd9
# pkg-config - a helper tool used when compiling applications and libraries
# http://pkgconfig.freedesktop.org/
[buildout]
parts =
pkgconfig
extends =
../software-profiles/gettext.cfg
../software-profiles/glib.cfg
../software-profiles/popt.cfg
[pkgconfig]
recipe = hexagonit.recipe.cmmi
url = http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz
md5sum = a3270bab3f4b69b7dc6dbdacbcae9745
configure-options =
--with-installed-glib
--with-installed-popt
environment =
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig
CPPFLAGS=-I${glib:location}/include -I${popt:location}/include
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -Wl,-rpath -Wl,${glib:location}/lib -L${popt:location}/lib -Wl,-rpath -Wl,${popt:location}/lib
......@@ -2214,6 +2214,19 @@ class AssertGraphviz(AssertSoftwareMixin):
'graphviz',
])
class AssertPkgconfig(AssertSoftwareMixin):
def test_ld_dot(self):
self.assertLibraryList('parts/pkgconfig/bin/pkg-config', [
'libc',
'libglib-2.0',
'libintl',
'libpopt',
], [
'gettext',
'glib',
'popt',
])
class AssertElfLinkedInternally(AssertSoftwareMixin):
def test(self):
result_dict = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment