Works around problem with runtime loader described here:

http://www.freelists.org/post/haiku-development/Runtime-loader-problem

The problem seems to be related to loading/unloading add-ons linked against the
recent OpenSSL. Linking the E-mail preferences against the SSL libraries (when
USE_SSL is enable) fixes this as the SSL libraries are not unloaded then.

I am still investigating this but will have no more time this week so I am commiting this workaround until I look at it again.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29320 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bruno G. Albuquerque 2009-02-25 10:37:42 +00:00
parent 634596058d
commit bec8576238

View File

@ -7,18 +7,36 @@ if $(TARGET_PLATFORM) != haiku {
}
UsePrivateHeaders mail ;
SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
local sslDir ;
if $(USE_SSL) {
SubDirC++Flags -DUSE_SSL ;
if ! $(SSL_DIR) {
sslDir = [ FDirName $(HAIKU_OUTPUT_DIR) cross-ssl common ] ;
} else {
sslDir = $(SSL_DIR) ;
}
SubDirSysHdrs [ FDirName $(sslDir) include ] ;
}
Preference E-mail :
Account.cpp
CenterContainer.cpp
ConfigViews.cpp
ConfigWindow.cpp
main.cpp
: be libmail.so
main.cpp
: be libmail.so
: e-mail.rdef
;
if $(USE_SSL) {
LinkAgainst E-mail : $(sslDir)/lib/libssl.so $(sslDir)/lib/libcrypto.so ;
}
Package haiku-maildaemon-cvs :
E-mail :
boot beos preferences ;