opnsense-ports/devel/msp430-debug-stack/files/patch-ThirdParty_BSL430__DLL_Makefile
Franco Fichtner 7a71bf48b3 */*: sync with upstream
Taken from: HardenedBSD
2020-04-05 09:16:53 +02:00

18 lines
399 B
Text

--- ThirdParty/BSL430_DLL/Makefile.orig 2019-11-18 10:16:00 UTC
+++ ThirdParty/BSL430_DLL/Makefile
@@ -47,10 +47,14 @@ ifeq ($(PLATFORM),Linux)
INCLUDES += -I$(BOOST_DIR)
endif
else
- CXX:= clang++
+# CXX:= clang++
ifdef BOOST_DIR
INCLUDES += -I$(BOOST_DIR)/include
+ endif
+ ifdef HIDAPI_DIR
+ INCLUDES += -I$(HIDAPI_DIR)/include/hidapi
+ LIBDIRS += -L$(HIDAPI_DIR)/lib
endif
endif