summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2013-05-31 02:46:09 +0200
committerArno Töll <arno@debian.org>2013-05-31 02:46:09 +0200
commita87aefc79660e138ce604ab92aa833fff38785b6 (patch)
treeb303bfbbe89e6d2563e3d0cd908ac60555c53f88 /debian/rules
parent3e5239c851ab7ced45990b3b594936b79e7f33b8 (diff)
downloadapache2-a87aefc79660e138ce604ab92aa833fff38785b6.tar.gz
Really fix the -lcap issue
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 2a16e513..3ab70bd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -88,10 +88,10 @@ override_dh_auto_configure: generate-maintainer-scripts prebuild-checks server/m
$(AP2_EXTRAFLAGS)
-ifneq ($(DEB_HOST_ARCH_OS),linux)
+ifeq ($(DEB_HOST_ARCH_OS),linux)
# XXX Hack to make mod_mpm_itk.so link against libcap until we
# XXX move itk to a separate package
- echo "$(DEB_HOST_ARCH_OS): weird arch: removing -lcap"
+ echo "$(DEB_HOST_ARCH_OS): non weird arch: adding -lcap"
perl -p -i -e 's/(-avoid-version)/$$1 -lcap/' server/mpm/itk/modules.mk
endif