|
|
@ -71,6 +71,7 @@ class PkgConfigDependency(Dependency): |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, name, environment, kwargs): |
|
|
|
def __init__(self, name, environment, kwargs): |
|
|
|
Dependency.__init__(self) |
|
|
|
Dependency.__init__(self) |
|
|
|
|
|
|
|
self.is_libtool = False |
|
|
|
self.required = kwargs.get('required', True) |
|
|
|
self.required = kwargs.get('required', True) |
|
|
|
if 'native' in kwargs and environment.is_cross_build(): |
|
|
|
if 'native' in kwargs and environment.is_cross_build(): |
|
|
|
want_cross = not kwargs['native'] |
|
|
|
want_cross = not kwargs['native'] |
|
|
@ -150,6 +151,7 @@ class PkgConfigDependency(Dependency): |
|
|
|
'but we could not compute the actual shared' |
|
|
|
'but we could not compute the actual shared' |
|
|
|
'library path' % lib) |
|
|
|
'library path' % lib) |
|
|
|
lib = shared_lib |
|
|
|
lib = shared_lib |
|
|
|
|
|
|
|
self.is_libtool = True |
|
|
|
|
|
|
|
|
|
|
|
self.libs.append(lib) |
|
|
|
self.libs.append(lib) |
|
|
|
|
|
|
|
|
|
|
|