mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Add dummy reference to librewrite to force it to link
This commit is contained in:
parent
f8d49b01be
commit
61d96fa17c
@ -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 New Issue
Block a user