diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-15 15:44:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:26 +0100 |
commit | b751f2389399a58a4e1c402982eec903199a4af3 (patch) | |
tree | 505c8428168d46978f925a00303e932af9b75a6a /source4/build/smb_build/main.pl | |
parent | fc2df89cd7aa702a03bf1a2c47c19af8b0bfa55a (diff) | |
download | samba-b751f2389399a58a4e1c402982eec903199a4af3.tar.gz samba-b751f2389399a58a4e1c402982eec903199a4af3.tar.bz2 samba-b751f2389399a58a4e1c402982eec903199a4af3.zip |
r25975: build: split SharedModule from SharedLibrary
metze
(This used to be commit 6f51dd97ac0161d09166bdce1e6aa57404b12056)
Diffstat (limited to 'source4/build/smb_build/main.pl')
-rw-r--r-- | source4/build/smb_build/main.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl index 90d99668dd..f6038bb078 100644 --- a/source4/build/smb_build/main.pl +++ b/source4/build/smb_build/main.pl @@ -60,12 +60,15 @@ foreach my $key (values %$OUTPUT) { $mkenv->StaticLibrary($key) if grep(/STATIC_LIBRARY/, @{$key->{OUTPUT_TYPE}}); $mkenv->PkgConfig($key, $OUTPUT) if $key->{TYPE} eq "LIBRARY" and defined($key->{VERSION}); - $mkenv->SharedLibrary($key) if grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}}); + $mkenv->SharedLibrary($key) if $key->{TYPE} eq "LIBRARY" and + grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}}); + $mkenv->SharedModule($key) if $key->{TYPE} eq "MODULE" and + grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}}); $mkenv->Binary($key) if grep(/BINARY/, @{$key->{OUTPUT_TYPE}}); $mkenv->Manpage($key) if defined($key->{MANPAGE}); $mkenv->Header($key) if defined($key->{PUBLIC_HEADERS}); $mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER}) or - defined($key->{PUBLIC_PROTO_HEADER}); + defined($key->{PUBLIC_PROTO_HEADER}); } $mkenv->write("Makefile"); |