mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
dovecot: add the dependency for a C file
building rquota_xdr.c depends on a head file, which is generated when building, so add the dependency to ensure the header file is generated firstly. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
|||||||
|
[PATCH] building rquota_xdr.c depends on rquota.h
|
||||||
|
|
||||||
|
Upstream-status: Pending
|
||||||
|
|
||||||
|
rquota.h is generated automatically, and building rquota_xdr.c
|
||||||
|
needs rquota.h, so add the dependency on rquota.h for rquota_xdr.c
|
||||||
|
|
||||||
|
Signed-off-by: rongqing li <rli2@yow-blade4.wrs.com>
|
||||||
|
---
|
||||||
|
src/plugins/quota/Makefile.am | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/plugins/quota/Makefile.am b/src/plugins/quota/Makefile.am
|
||||||
|
index 8a6988d..3626d79 100644
|
||||||
|
--- a/src/plugins/quota/Makefile.am
|
||||||
|
+++ b/src/plugins/quota/Makefile.am
|
||||||
|
@@ -70,7 +70,7 @@ RQUOTA_XDR = rquota_xdr.c
|
||||||
|
RQUOTA_XDR_LO = rquota_xdr.lo
|
||||||
|
#RQUOTA_X = /usr/include/rpcsvc/rquota.x
|
||||||
|
RQUOTA_X = $(srcdir)/rquota.x
|
||||||
|
-rquota_xdr.c: Makefile $(RQUOTA_X)
|
||||||
|
+rquota_xdr.c: Makefile $(RQUOTA_X) rquota.h
|
||||||
|
if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
|
||||||
|
cp $(RQUOTA_X) $(top_builddir)/src/plugins/quota/; \
|
||||||
|
fi; \
|
||||||
|
--
|
||||||
|
1.8.2.1
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a981379bd0f1c362f8d1d21515e5b30b"
|
|||||||
|
|
||||||
SRC_URI = "http://dovecot.org/releases/2.2/dovecot-${PV}.tar.gz \
|
SRC_URI = "http://dovecot.org/releases/2.2/dovecot-${PV}.tar.gz \
|
||||||
file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \
|
file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \
|
||||||
|
file://building-rquota_xdr.c-depend-on-rquota.h.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "037e9c9e07d9dbff54dcff09f280fc8c"
|
SRC_URI[md5sum] = "037e9c9e07d9dbff54dcff09f280fc8c"
|
||||||
SRC_URI[sha256sum] = "75592483d40dc4f76cc3b41af40caa4be80478946a699d46846d5d03e4d2e09b"
|
SRC_URI[sha256sum] = "75592483d40dc4f76cc3b41af40caa4be80478946a699d46846d5d03e4d2e09b"
|
||||||
|
|||||||
Reference in New Issue
Block a user