X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/451518eba5be299ae1ef004112a6ecdc3b2e26c0..6ab92cab84ccfa359f400cd6e4fa82f12c8e4bfe:/scripts/config/Makefile diff --git a/scripts/config/Makefile b/scripts/config/Makefile index a731a40e7..6cdab2e0e 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