summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-07 14:24:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:52 -0500
commitbdbd9b888651ce0b79c8ea9a9ce6a86ba59112ae (patch)
treec04f18ae76c890e7feeb07bca01e2cbedceb295a /source4
parent21aa8c49c7fb2014a7fa4aaea65eba0bb067417b (diff)
downloadsamba-bdbd9b888651ce0b79c8ea9a9ce6a86ba59112ae.tar.gz
samba-bdbd9b888651ce0b79c8ea9a9ce6a86ba59112ae.tar.bz2
samba-bdbd9b888651ce0b79c8ea9a9ce6a86ba59112ae.zip
r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order metze (This used to be commit 49b555b876493e4d05bd69328f9a4e0585aa8076)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/output.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index 9196f20636..6cae16e886 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -146,7 +146,7 @@ sub create_output($$)
merge_array(\$part->{FINAL_CFLAGS}, $part->{CPPFLAGS});
merge_array(\$part->{FINAL_CFLAGS}, $part->{CFLAGS});
- foreach (@{$part->{UNIQUE_DEPENDENCIES_ALL}}) {
+ foreach (reverse @{$part->{UNIQUE_DEPENDENCIES_ALL}}) {
my $elem = $depend->{$_};
next if $elem == $part;