| |
| |
| From: David Rothenberger <d.rothenberger@entomo.com> |
| |
| |
| --- |
| Makefile.in | 2 +- |
| ldap/apr_ldap_stub.c | 2 +- |
| 2 files changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/Makefile.in b/Makefile.in |
| index 963fead..c9827de 100644 |
| --- a/Makefile.in |
| +++ b/Makefile.in |
| @@ -23,7 +23,7 @@ INSTALL = @INSTALL@ |
| INSTALL_DATA = @INSTALL_DATA@ |
| |
| APU_MODULES = @APU_MODULES@ |
| -LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APRUTIL_MAJOR_VERSION) -module -rpath $(APU_DSO_LIBDIR) |
| +LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APRUTIL_MAJOR_VERSION) -module -no-undefined -rpath $(APU_DSO_LIBDIR) @abs_builddir@/lib@APRUTIL_LIBNAME@.la $(APRUTIL_LIBS) |
| APU_DSO_LIBDIR = @APU_DSO_LIBDIR@ |
| |
| LT_VERSION = @APU_LTVERSION@ |
| diff --git a/ldap/apr_ldap_stub.c b/ldap/apr_ldap_stub.c |
| index 97c1551..9df76b7 100644 |
| --- a/ldap/apr_ldap_stub.c |
| +++ b/ldap/apr_ldap_stub.c |
| @@ -45,7 +45,7 @@ static apr_status_t load_ldap(apr_pool_t *pool) |
| return rv; |
| } |
| |
| -#if defined(WIN32) |
| +#if defined(WIN32) || defined(__CYGWIN__) |
| modname = "apr_ldap-" APU_STRINGIFY(APU_MAJOR_VERSION) ".dll"; |
| #else |
| modname = "apr_ldap-" APU_STRINGIFY(APU_MAJOR_VERSION) ".so"; |