summaryrefslogtreecommitdiffstats
path: root/package/config/zconf.l
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-09-23 16:06:59 +0200
committerBernhard Reutner-Fischer2007-09-23 16:06:59 +0200
commit0d888e3677d9cd501c6b87f634d9bb8f13de581f (patch)
treec9abe1ce50c34b4610732bbeb4c7e2d0335e9861 /package/config/zconf.l
parentStrip files the correct alsa-lib subdirectory (diff)
downloadbuildroot-0d888e3677d9cd501c6b87f634d9bb8f13de581f.tar.gz
buildroot-0d888e3677d9cd501c6b87f634d9bb8f13de581f.tar.xz
buildroot-0d888e3677d9cd501c6b87f634d9bb8f13de581f.zip
- pull kbuild from 2.6.22.7. This should fix the ncurses detection for dylib et al
Diffstat (limited to 'package/config/zconf.l')
-rw-r--r--package/config/zconf.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/config/zconf.l b/package/config/zconf.l
index cfa46077c..187d38cca 100644
--- a/package/config/zconf.l
+++ b/package/config/zconf.l
@@ -265,7 +265,7 @@ FILE *zconf_fopen(const char *name)
FILE *f;
f = fopen(name, "r");
- if (!f && name[0] != '/') {
+ if (!f && name != NULL && name[0] != '/') {
env = getenv(SRCTREE);
if (env) {
sprintf(fullname, "%s/%s", env, name);