From: Adam Dickmeiss Date: Sun, 20 Feb 2005 21:59:08 +0000 (+0000) Subject: Only use dlclose if DL is present/supported. X-Git-Tag: YAZPROXY.1.0~10 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=94ada984aeaa696d6a0ba1ee1c33786b4a4350fe;p=yazproxy-moved-to-github.git Only use dlclose if DL is present/supported. --- diff --git a/src/yaz-proxy-config.cpp b/src/yaz-proxy-config.cpp index babbd7c..951f1aa 100644 --- a/src/yaz-proxy-config.cpp +++ b/src/yaz-proxy-config.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy-config.cpp,v 1.15 2005-02-11 15:19:08 adam Exp $ +/* $Id: yaz-proxy-config.cpp,v 1.16 2005-02-20 21:59:08 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -68,7 +68,9 @@ Yaz_ProxyModule::~Yaz_ProxyModule() if (int0->destroy) (*int0->destroy)(m_user_handle); } +#if HAVE_DLFCN_H dlclose(m_dl_handle); +#endif } int Yaz_ProxyModule::authenticate(const char *user, const char *group,