Bug#249408: asm/ headers in LINUX_SOURCE not used unless it is a real directory
Package: glibc
Version: 2.3.2.ds1-12
When I specify the location of my kernel headers by setting
LINUX_SOURCE, e.g. LINUX_SOURCE=/usr/src/kernel-headers-2.4.26-wg, and
attempt to build glibc, no "asm/" headers are found, because that is a
symbolic link to the respective real directory. Patch appended; if
you really want to insist on checking for a directory, "-xtype d"
should be used instead.
Regards,
Wolfram.
--- debian/sysdeps/linux.mk~ Sun May 16 12:03:35 2004
+++ debian/sysdeps/linux.mk Sun May 16 12:44:09 2004
@@ -42,7 +42,7 @@
# Link all asm directories. We can't just link asm and asm-generic
# because of explicit references to <asm-sparc/*> and
# <asm-sparc64/*>.
- find $(LINUX_HEADERS) -maxdepth 1 -type d -name asm\* \
+ find $(LINUX_HEADERS) -maxdepth 1 -name asm\* \
-exec ln -s '{}' debian/include ';'
# To make configure happy if libc6-dev is not installed.
Reply to: