summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2005-12-09 07:28:27 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2005-12-09 07:28:27 +0000
commit50dc3ead7376f0a3e82ec46f57f74cf85623d5c9 (patch)
treebdeffff44d17567b2b785f7d9ab64f0ead94e501
parent797ce3eb7899d07fef55068f1d389d06e723cb0f (diff)
downloadptxdist-50dc3ead7376f0a3e82ec46f57f74cf85623d5c9.tar.gz
ptxdist-50dc3ead7376f0a3e82ec46f57f74cf85623d5c9.tar.xz
* rules/iptables.make:
iptables prefix defaults to /usr/local, but files are copied into /usr which makes iptables fail to load shared libraries. patch by: ladis {at} linux-mips {dot} org git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@3501 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/iptables.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/iptables.make b/rules/iptables.make
index 451dd85f4..4b0622fd8 100644
--- a/rules/iptables.make
+++ b/rules/iptables.make
@@ -91,7 +91,8 @@ iptables_compile_deps = $(STATEDIR)/iptables.prepare
$(STATEDIR)/iptables.compile: $(iptables_compile_deps)
@$(call targetinfo, $@)
- cd $(IPTABLES_DIR) && $(IPTABLES_ENV) $(IPTABLES_PATH) make KERNEL_DIR=$(KERNEL_DIR)
+ cd $(IPTABLES_DIR) && $(IPTABLES_ENV) $(IPTABLES_PATH) \
+ make KERNEL_DIR=$(KERNEL_DIR) PREFIX=/usr
$(call touch, $@)
# ----------------------------------------------------------------------------