Blame SOURCES/openldap-sql-linking.patch

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