summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-07 10:02:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:50 -0500
commita46e12d0e07e1630f8ef15aff0f97cb2f1f4c273 (patch)
tree8b8dec47de3b082143435246201a75a04d0fb1dd /source4/build/smb_build
parentaf7886614a2b9e36b9e6a31f48a775b900d9183c (diff)
downloadsamba-a46e12d0e07e1630f8ef15aff0f97cb2f1f4c273.tar.gz
samba-a46e12d0e07e1630f8ef15aff0f97cb2f1f4c273.tar.bz2
samba-a46e12d0e07e1630f8ef15aff0f97cb2f1f4c273.zip
r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies metze (This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/input.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index a8f5485a35..227b47c0c7 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -41,11 +41,15 @@ sub add_libreplace($)
return if ($n eq "LIBREPLACE");
return if ($n eq "LIBREPLACE_HOSTCC");
}
+ foreach my $n (@{$part->{PUBLIC_DEPENDENCIES}}) {
+ return if ($n eq "LIBREPLACE");
+ return if ($n eq "LIBREPLACE_HOSTCC");
+ }
if (defined($part->{USE_HOSTCC}) && $part->{USE_HOSTCC} eq "YES") {
- push (@{$part->{PRIVATE_DEPENDENCIES}}, "LIBREPLACE_HOSTCC");
+ unshift (@{$part->{PRIVATE_DEPENDENCIES}}, "LIBREPLACE_HOSTCC");
} else {
- push (@{$part->{PRIVATE_DEPENDENCIES}}, "LIBREPLACE");
+ unshift (@{$part->{PRIVATE_DEPENDENCIES}}, "LIBREPLACE");
}
}