summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 0c905b688..5fa9072f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,7 +52,7 @@ endif
ifeq ($(with_shared_libs),n)
echo 'HAVE_SHARED = false' >>Config
endif
- echo 'KERNEL_SOURCE = /usr/src/kernel-headers-2.4.5' >>Config
+ echo 'KERNEL_SOURCE = '`echo /usr/src/kernel-headers-*|sed 's/ .*//'` >>Config
$(MAKE)