This fixes a race condition e.g.

testminissdp.c:15:10: fatal error: config.h: No such file or directory
   15 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'testminissdp.o' failed

Signed-off-by: Khem Raj <[email protected]>
---
 .../recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb 
b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb
index 595e211ea5..81bfe66a9e 100644
--- a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb
+++ b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb
@@ -26,6 +26,7 @@ do_configure_prepend() {
 
 do_compile() {
     cd ${S}
+    CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f 
Makefile.linux config.h
     CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f 
Makefile.linux
 }
 
-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to