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:
parent
e73caad0d7
commit
7d19154e18
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user