openldap-sql-linking.patch 649 B

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