Compare commits

...

2 Commits

Author SHA1 Message Date
Wouter Deconinck
06106eb42e lzo: fix style 2024-05-12 19:45:37 -05:00
Wouter Deconinck
2fe09235a2 lzo: ensure #include <lzo/lzo1x.h> works with pkgconf cflags 2024-05-12 19:19:22 -05:00

View File

@@ -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")