From 2597da17c254e9713a8774b156aff8eda5d7d17d Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 16 Sep 2015 21:13:03 +0100 Subject: [PATCH] [475807] Fix cross compiling of websockets. Thanks to Tyler Brandon. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475807 --- ChangeLog.txt | 1 + src/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 581d7904..b7f27859 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -4,6 +4,7 @@ Broker: - Don't leak sockets when outgoing bridge with multiple addresses cannot connect. Closes #477571. +- Fix cross compiling of websockets. Closes #475807. 1.4.3 - 20150818 diff --git a/src/Makefile b/src/Makefile index 2cfb7d40..2bc70dec 100644 --- a/src/Makefile +++ b/src/Makefile @@ -90,7 +90,7 @@ util_mosq.o : ../lib/util_mosq.c ../lib/util_mosq.h ${CROSS_COMPILE}${CC} $(BROKER_CFLAGS) -c $< -o $@ websockets.o : websockets.c mosquitto_broker.h - ${CC} $(BROKER_CFLAGS) -c $< -o $@ + ${CROSS_COMPILE}${CC} $(BROKER_CFLAGS) -c $< -o $@ will_mosq.o : ../lib/will_mosq.c ../lib/will_mosq.h ${CROSS_COMPILE}${CC} $(BROKER_CFLAGS) -c $< -o $@