aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
Diffstat (limited to 'funcs')
-rw-r--r--funcs/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/funcs/Makefile b/funcs/Makefile
index 773594c64..2cafa3d1a 100644
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -34,6 +34,12 @@ else
STANDALONE_FUNCS=$(AVAILABLE_FUNCS)
endif
+ifeq ($(findstring BSD,${OSARCH}),BSD)
+ CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include
+ SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
+endif
+
+
FUNCS+=$(STANDALONE_FUNCS:.o=.so)
FUNC_SOURCES=$(BUILTINS:.o=.c)