[PATCH] fstools: libblkid-tiny: install header file to include dir
Daniel Danzberger
daniel at dd-wrt.com
Mon Aug 2 02:57:09 PDT 2021
Hence libblkid-tiny is a shared lib, it makes sense to install it's
header to the system incldue/ dir for other applications to use it.
Signed-off-by: Daniel Danzberger <daniel at dd-wrt.com>
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 422f27d..9a87979 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,6 +38,7 @@ ADD_LIBRARY(blkid-tiny SHARED
libblkid-tiny/f2fs.c
)
INSTALL(TARGETS blkid-tiny LIBRARY DESTINATION lib)
+INSTALL(FILES libblkid-tiny/libblkid-tiny.h DESTINATION include)
ADD_LIBRARY(ubi-utils STATIC
libubi/libubi.c
--
2.30.2
More information about the openwrt-devel
mailing list