You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.3 KiB

  1. From: Ryan Niebur <ryanryan52@gmail.com>
  2. Subject: by default --avoid-ldap since apache2 is the only user, and we don't
  3. want to add extra dependencies to other apr-utils rdepends
  4. --- a/apu-config.in
  5. +++ b/apu-config.in
  6. @@ -30,7 +30,8 @@ includedir="@includedir@"
  7. LIBS="@APRUTIL_EXPORT_LIBS@"
  8. INCLUDES="@APRUTIL_INCLUDES@"
  9. LDFLAGS="@APRUTIL_LDFLAGS@"
  10. -LDAP_LIBS="@LDADD_ldap@"
  11. +ORIG_LDAP_LIBS="@LDADD_ldap@"
  12. +LDAP_LIBS=""
  13. DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@"
  14. APRUTIL_LIBNAME="@APRUTIL_LIBNAME@"
  15. @@ -55,7 +56,7 @@ Known values for OPTION are:
  16. --includedir print location where headers are installed
  17. --ldflags print linker flags
  18. --libs print library information
  19. - --avoid-ldap do not include ldap library information with --libs
  20. + --avoid-ldap do not include ldap library information with --libs (default on OpenWrt)
  21. --ldap-libs print library information to link with ldap
  22. --avoid-dbm do not include DBM library information with --libs
  23. --dbm-libs print additional library information to link with DBM
  24. @@ -121,7 +122,7 @@ while test $# -gt 0; do
  25. flags="$flags $LDAP_LIBS $DBM_LIBS $LIBS"
  26. ;;
  27. --ldap-libs)
  28. - flags="$flags $LDAP_LIBS"
  29. + flags="$flags $ORIG_LDAP_LIBS"
  30. ;;
  31. --dbm-libs)
  32. flags="$flags $DBM_LIBS"