aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config')
-rw-r--r--scripts/config/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index a731a40e7c..6cdab2e0e6 100644
--- a/scripts/config/Makefile
+++ b/scripts/config/Makefile
@@ -9,6 +9,15 @@
# Utilizes the lxdialog package
# object files used by all kconfig flavours
+
+# Platform specific fixes
+#
+# FreeBSD
+ifeq ($(shell uname -s),FreeBSD)
+export CFLAGS+=-I/usr/local/include
+export LDFLAGS+=-L/usr/local/lib -lintl
+endif
+
conf-objs := conf.o zconf.tab.o
mconf-objs := mconf.o zconf.tab.o