lzo: ensure #include <lzo/lzo1x.h> works with pkgconf cflags
This commit is contained in:
@@ -33,3 +33,10 @@ def configure_args(self):
|
||||
args = ["--disable-dependency-tracking"]
|
||||
args += self.enable_or_disable("libs")
|
||||
return args
|
||||
|
||||
@run_after('install')
|
||||
def postinstall(self):
|
||||
# ensure e.g. #include <lzo/lzo1x.h> works with Cflags: -I${includedir}/lzo in pkgconf
|
||||
# by creating symlink ${includedir}/lzo/lzo -> ${includedir}/lzo
|
||||
with working_dir(self.prefix.include.lzo):
|
||||
symlink(".", "lzo")
|
||||
|
||||
Reference in New Issue
Block a user