* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
47 lines
1004 B
Plaintext
47 lines
1004 B
Plaintext
SubDir HAIKU_TOP src add-ons mail_daemon inbound_protocols pop3 ;
|
|
|
|
if $(TARGET_PLATFORM) != haiku {
|
|
UsePublicHeaders mail ;
|
|
}
|
|
|
|
UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
|
|
UsePrivateHeaders mail shared ;
|
|
|
|
SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
|
|
|
|
local sources =
|
|
ConfigView.cpp
|
|
MessageIO.cpp
|
|
pop3.cpp
|
|
md5c.c
|
|
;
|
|
|
|
# use OpenSSL, if enabled
|
|
if [ FIsBuildFeatureEnabled openssl ] {
|
|
SubDirC++Flags -DUSE_SSL ;
|
|
UseBuildFeatureHeaders openssl ;
|
|
Includes [ FGristFiles $(sources) ]
|
|
: [ BuildFeatureAttribute openssl : headers ] ;
|
|
# Dependency needed to trigger downloading/unzipping the package before
|
|
# compiling the files.
|
|
SetupFeatureObjectsDir ssl ;
|
|
} else {
|
|
SetupFeatureObjectsDir no-ssl ;
|
|
}
|
|
|
|
AddResources POP3 : POP3.rdef ;
|
|
|
|
Addon POP3
|
|
: $(sources)
|
|
: be libbnetapi.so libmail.so localestub
|
|
[ BuildFeatureAttribute openssl : libraries ] [ TargetLibsupc++ ]
|
|
$(TARGET_NETWORK_LIBS)
|
|
;
|
|
|
|
DoCatalogs POP3 :
|
|
x-vnd.Haiku-POP3
|
|
:
|
|
ConfigView.cpp
|
|
pop3.cpp
|
|
;
|