mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Add dummy reference to librewrite to force it to link
This commit is contained in:
parent
f8d49b01be
commit
61d96fa17c
1 changed files with 6 additions and 0 deletions
|
|
@ -1397,6 +1397,12 @@ int slap_sasl_regexp_config( const char *match, const char *replace )
|
|||
"SASL match pattern %s could not be compiled by regexp engine\n",
|
||||
reg->sr_match, 0, 0 );
|
||||
|
||||
#ifdef ENABLE_REWRITE
|
||||
/* Dummy block to force symbol references in librewrite */
|
||||
if ( slapMode == ( SLAP_SERVER_MODE|SLAP_TOOL_MODE )) {
|
||||
rewrite_info_init( 0 );
|
||||
}
|
||||
#endif
|
||||
return( LDAP_OTHER );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue