pkg-config: use the internal glib

glib requires pkg-config itself, so on machines without pkg-config,
there's a bootstrapping problem.
This commit is contained in:
Ben Boeckel 2016-04-08 12:01:28 -04:00
parent e73caad0d7
commit 7d19154e18

View File

@ -10,7 +10,12 @@ class PkgConfig(Package):
parallel = False
def install(self, spec, prefix):
configure("--prefix=%s" %prefix, "--enable-shared")
configure("--prefix=%s" %prefix,
"--enable-shared",
"--with-internal-glib") # There's a bootstrapping problem here;
# glib uses pkg-config as well, so
# break the cycle by using the internal
# glib.
make()
make("install")