diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2015-06-19 11:08:08 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-24 14:03:54 +0200 |
commit | 3659908852b0241ecdce0a53423d7118763c1485 (patch) | |
tree | 50a6833ec99b9bfc2ce1841f7c67e0bc1a8150db /meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb | |
parent | 4a89e4c6088a3c3c3af8a228b10ee1dea9353634 (diff) | |
download | meta-openembedded-3659908852b0241ecdce0a53423d7118763c1485.tar.gz |
smbnetfs: using PKG_CHECK_MODULES to found headers and libraries for smbclient
After samba was upgraded to 4.x, headers of smbclient were installed into include/samba-4.0/,
so we should using PKG_CHECK_MODULES to found headers and libraries for smbclient to avoid
error as below.
${WORKDIR}/git/src/samba.c
| smbnetfs/git-r0/git/src/smb_conn_srv.c:12:26: fatal error: libsmbclient.h: No such file or directory #include <libsmbclient.h>
| ^
| compilation terminated.
| make[2]: *** [smb_conn_srv.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb')
-rw-r--r-- | meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb index a0eddbc790..f1420fbed8 100644 --- a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb +++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb @@ -17,7 +17,8 @@ PKGV = "${GITPKGVTAG}" SRCREV = "ace1c519d45fe488b9b7e6cc77a2bcadb6c83464" SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=master \ - file://configure.patch" + file://configure.patch \ + file://Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch" PACKAGECONFIG ??= "" PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring=yes,--with-gnome-keyring=no,libgnome-keyring" |