From 58de48975d267273625410449fe910229090aa07 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 2 Aug 2006 13:36:20 +0000 Subject: FreeBSD fix to generate the menuconfig properly git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4396 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/config/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/config') 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 -- cgit v1.2.3