Browse Source

* improved LDAP-QUIRK to also inject -I and -J to CPP

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20921 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
fab7c3b449
  1. 11
      network/openldap/parse-config

11
network/openldap/parse-config

@ -23,7 +23,14 @@ if pkginstalled -f openldap; then
echo_warning "Injecting -L and -I to find openldap as requested." echo_warning "Injecting -L and -I to find openldap as requested."
pkgprefix -t openldap pkgprefix -t openldap
var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir openldap )" LDAPINC="$root$( pkgprefix includedir openldap )"
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" LDAPLIB="$root$( pkgprefix libdir openldap )"
var_append GCC_WRAPPER_APPEND ' ' "-L$LDAPLIB"
var_append CPP_WRAPPER_APPEND ' ' "-L$LDAPLIB"
var_append GCC_WRAPPER_APPEND ' ' "-I$LDAPINC"
var_append CPP_WRAPPER_APPEND ' ' "-I$LDAPINC"
unset LDAPINC LDAPLIB
fi fi
fi fi

Loading…
Cancel
Save