libp11: include also p11_err.h when InstallDev
authorYousong Zhou <redacted>
Fri, 8 Dec 2017 03:08:17 +0000 (11:08 +0800)
committerYousong Zhou <redacted>
Fri, 8 Dec 2017 03:09:28 +0000 (11:09 +0800)
Fix the following compilation error

    In file included from openconnect-internal.h:95:0,
     from ssl.c:41:
    /home/yousong/git-repo/lede-project/lede/staging_dir/target-mips_24kc_musl/usr/include/libp11.h: At top level:
    /home/yousong/git-repo/lede-project/lede/staging_dir/target-mips_24kc_musl/usr/include/libp11.h:27:21: fatal error: p11_err.h: No such file or directory
    compilation terminated.
    make[5]: *** [libopenconnect_la-ssl.lo] Error 1

Signed-off-by: Yousong Zhou <redacted>
libs/libp11/Makefile

index 6d86cd1a7483f9add2736b1e90b745b1f8fe2c26..448521260a37a802175093873ab317063e335b4f 100644 (file)
@@ -42,7 +42,7 @@ CONFIGURE_ARGS += --with-enginesdir=/usr/lib/engines
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/libp11.h $(1)/usr/include/
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11.{a,so} $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libp11.so* $(1)/usr/lib/
git clone https://git.99rst.org/PROJECT