From 16a0a4de4f270b1339992b1fa0b7ce0d90586894 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 14 Jan 2013 11:35:13 +0100 Subject: [PATCH] strongswan: fixed to use the right path for {C,CPP,LD}FLAGS for openldap when cross-compiling --- security/strongswan/strongswan.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/strongswan/strongswan.conf b/security/strongswan/strongswan.conf index 5b9ba300b..6fba729fa 100644 --- a/security/strongswan/strongswan.conf +++ b/security/strongswan/strongswan.conf @@ -36,9 +36,9 @@ fi # checking if we can enable CRL fetching using LDAP if pkginstalled openldap; then pkgprefix -t openldap - var_append CFLAGS ' ' "-I$( pkgprefix includedir openldap )" - var_append CPPFLAGS ' ' "-I$( pkgprefix includedir openldap )" - var_append LDFLAGS ' ' "-L$( pkgprefix libdir openldap )" + var_append CFLAGS ' ' "-I$( pkgprefix -r includedir openldap )" + var_append CPPFLAGS ' ' "-I$( pkgprefix -r includedir openldap )" + var_append LDFLAGS ' ' "-L$( pkgprefix -r libdir openldap )" export CPPFLAGS CFLAGS LDFLAGS var_append extraconfopt ' ' "--enable-ldap"