-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Raul Metsma <[email protected]>
- Loading branch information
Showing
147 changed files
with
102 additions
and
29,684 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
: ${OPENLDAP:=openldap-2.6.9} | ||
: ${IPHONEOS_DEPLOYMENT_TARGET:="13.0"} | ||
: ${ARCHS:="arm64"} | ||
: ${PREFIX=${BUILT_PRODUCTS_DIR}/openldap} | ||
: ${PLATFORM_NAME:="iphoneos"} | ||
SYSROOT=$(xcrun -sdk ${PLATFORM_NAME} --show-sdk-path) | ||
OPENSSL_DIR=${PROJECT_DIR}/../MoppLib/MoppLib/libdigidocpp/libdigidocpp.${PLATFORM_NAME} | ||
SOURCE_DIR=${DERIVED_SOURCES_DIR} | ||
export IPHONEOS_DEPLOYMENT_TARGET | ||
export CFLAGS="-arch ${ARCHS// / -arch } -isysroot ${SYSROOT}" | ||
export CXXFLAGS="${CFLAGS}" | ||
export CPPFLAGS="${CFLAGS} -I${OPENSSL_DIR}/include" | ||
export LDFLAGS="-L${OPENSSL_DIR}/lib" | ||
|
||
mkdir -p ${SOURCE_DIR} | ||
cd ${SOURCE_DIR} | ||
if [ ! -f ${OPENLDAP}.tgz ]; then | ||
curl -O -L http://mirror.eu.oneandone.net/software/openldap/openldap-release/${OPENLDAP}.tgz | ||
fi | ||
if [ ! -d ${OPENLDAP} ]; then | ||
tar xf ${OPENLDAP}.tgz | ||
cd ${OPENLDAP} | ||
sed -ie 's! clients servers tests doc!!' Makefile.in | ||
cd ${TARGET_TEMP_DIR} | ||
echo ${SOURCE_DIR}/${OPENLDAP}/configure | ||
${SOURCE_DIR}/${OPENLDAP}/configure --host=arm-apple-darwin \ | ||
--prefix=${PREFIX} --enable-static --disable-shared --disable-syslog --disable-local \ | ||
--disable-slapd --disable-cleartext --disable-mdb --disable-relay --disable-syncprov \ | ||
--without-cyrus-sasl --without-systemd --without-fetch --without-threads --with-tls=openssl --without-argon2 \ | ||
ac_cv_func_memcmp_working=yes lt_cv_apple_cc_single_mod=yes || cat config.log | ||
else | ||
cd ${TARGET_TEMP_DIR} | ||
fi | ||
make install | ||
cp ${PROJECT_DIR}/CryptoLib/module.modulemap ${PREFIX}/include |
File renamed without changes.
85 changes: 0 additions & 85 deletions
85
CryptoLib/CryptoLib/openldap/OpenLDAP.iphoneos/include/Makefile.in
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
CryptoLib/CryptoLib/openldap/OpenLDAP.iphoneos/include/ac/alloca.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.