Blame SOURCES/openldap-sql-linking.patch

767ab2
Removes unnecessary linking of SQL libraries into slapd. This makes openldap-servers package
767ab2
independent on libodbc. (SQL backend is packaged separately in openldap-servers-sql.)
767ab2
767ab2
--- openldap-2.4.24.orig/build/top.mk
767ab2
+++ openldap-2.4.24/build/top.mk
767ab2
@@ -201,7 +201,7 @@ SLAPD_SQL_LDFLAGS = @SLAPD_SQL_LDFLAGS@
767ab2
 SLAPD_SQL_INCLUDES = @SLAPD_SQL_INCLUDES@
767ab2
 SLAPD_SQL_LIBS = @SLAPD_SQL_LIBS@
767ab2
 
767ab2
-SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ $(ICU_LIBS)
767ab2
+SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ $(ICU_LIBS)
767ab2
 
767ab2
 # Our Defaults
767ab2
 CC = $(AC_CC)