0001-apps-mosquitto_ctrl-don-t-hard-set-paths.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. From 58a06f33313ad23d406514a03ab8d8f13e3cc44e Mon Sep 17 00:00:00 2001
  2. From: Karl Palsson <karlp@etactica.com>
  3. Date: Fri, 4 Dec 2020 21:33:18 +0000
  4. Subject: [PATCH] apps: mosquitto_ctrl: don't hard set paths
  5. In a cross compile environment, these paths will be added elsewhere, and
  6. in a local environment, they should already be covered by the system
  7. compiler. Simply drop them.
  8. Signed-off-by: Karl Palsson <karlp@etactica.com>
  9. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  10. ---
  11. apps/mosquitto_ctrl/Makefile | 3 +--
  12. 1 file changed, 1 insertion(+), 2 deletions(-)
  13. diff --git a/apps/mosquitto_ctrl/Makefile b/apps/mosquitto_ctrl/Makefile
  14. index 59b23596..3a4843bf 100644
  15. --- a/apps/mosquitto_ctrl/Makefile
  16. +++ b/apps/mosquitto_ctrl/Makefile
  17. @@ -8,8 +8,7 @@ else
  18. LIBMOSQ:=../../lib/libmosquitto.a
  19. endif
  20. -LOCAL_CPPFLAGS:=-I/usr/include/cjson -I/usr/local/include/cjson -I../mosquitto_passwd
  21. -LOCAL_LDFLAGS:=-L/usr/local/lib
  22. +LOCAL_CPPFLAGS:=-I../mosquitto_passwd
  23. OBJS= mosquitto_ctrl.o \
  24. client.o \
  25. --
  26. 2.20.1