$make xconfig generates this error on the last couple kernels: (2.6.14-git14, git13) make xconfig HOSTCXX scripts/kconfig/qconf.o HOSTLD scripts/kconfig/qconf /usr/bin/ld: cannot find -l-ldl collect2: ld returned 1 exit status make[1]: *** [scripts/kconfig/qconf] Error 1 make: *** [xconfig] Error 2 The actual problem may be at another level, since I don't see a difference between the scripts/kconfig/Makefile & prior ones that work, but this patch seems in line with other targets that work and used the standard pkg-config --libs --cflags setup. Signed-off-by: Mickey Stein ---