mongoose: fix build failure
PATCH 1/1 mongoose: fix build failure
mongoose.h looks missing because we're not building locally, so switch to the build dir. Fixes:
http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/
--- package/mongoose/mongoose.mk | 1 + 1 file changed, 1 insertion(+)
package/mongoose/mongoose.mk +1 -0
@@ -19,6 +19,7 @@ MONGOOSE_CFLAGS += -DNS_ENABLE_SSL -lssl -lcrypto -lz endif define MONGOOSE_BUILD_CMDS + cd $(@D) ; \ $(TARGET_CC) $(@D)/examples/server.c $(@D)/mongoose.c \ -o $(@D)/examples/server $(MONGOOSE_CFLAGS) -pthread -ldl $(TARGET_CC) -c $(@D)/mongoose.c $(MONGOOSE_CFLAGS) -o $(@D)/mongoose.o
Signature · 1 line
1.8.5.5
PATCH 1/1 mongoose: fix build failure
Dear Gustavo Zacarias,
Quoted 14 lines · Gustavo Zacarias
mongoose.hlooks missing because we're not building locally, so switch to the build dir. Fixes:
http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/Signed-off-by Gustavo Zacarias <[email protected]>--- package/mongoose/mongoose.mk | 1 + 1 file changed, 1 insertion(+)package/mongoose/mongoose.mk +0
-0
package/mongoose/mongoose.mk MONGOOSE_CFLAGS += -DNS_ENABLE_SSL -lssl -lcrypto -lz · line 24
Quoted 6 lines
package/mongoose/mongoose.mk +1
-0@@ -19,6 +19,7 @@ MONGOOSE_CFLAGS += -DNS_ENABLE_SSL -lssl -lcrypto -lz endif define MONGOOSE_BUILD_CMDS + cd $(@D) ; \ $(TARGET_CC) $(@D)/examples/server.c $(@D)/mongoose.c \ -o $(@D)/examples/server $(MONGOOSE_CFLAGS) -pthread -ldl
What about -I$(@D) instead?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 mongoose: fix build failure
In reply to Gustavo ZacariasDear Gustavo Zacarias,
Quoted 8 lines · Gustavo Zacarias
mongoose.hlooks missing because we're not building locally, so switch to the build dir. Fixes:
http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/Signed-off-by Gustavo Zacarias <[email protected]>--- package/mongoose/mongoose.mk | 1 + 1 file changed, 1 insertion(+)
Applied after changing the patch to use -I$(@D) instead.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com