aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2017-12-08 11:08:17 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2017-12-08 11:09:28 +0800
commit3ac581298344c92da16cfa2d2c15e054494bcef3 (patch)
treeca39bf99ae12f748d0cd578eca87e029e9b67146
parentda435aaf9491e0c64a05a6e52ac2d98f547f283e (diff)
libp11: include also p11_err.h when InstallDev
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 <yszhou4tech@gmail.com>
-rw-r--r--libs/libp11/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libp11/Makefile b/libs/libp11/Makefile
index 6d86cd1a7..448521260 100644
--- a/libs/libp11/Makefile
+++ b/libs/libp11/Makefile
@@ -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/