summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 918e5cad1..f122191f2 100644
--- a/config.lib
+++ b/config.lib
@@ -1385,7 +1385,7 @@ make_cflags_and_ldflags() {
# Btw, this almost always comes from outside the configure, so it is
# not something we can control.
if [ "$with_makedepend" != "0" ]; then
- cflags_makedep="` echo "$CFLAGS" | sed 's~ /~ -~g'`"
+ cflags_makedep="` echo "$CFLAGS" | sed 's~ /~ -~g;s~-I[ ]*[^ ]*~~g'`"
else
makedepend=""
fi