test/recipes/90-test_shlibload.t: Make sure to handle library renames
[openssl.git] / test / recipes / 95-test_external_krb5_data / krb5.sh
1 #!/bin/sh -ex
2 #
3 # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
4 #
5 # Licensed under the OpenSSL license (the "License").  You may not use
6 # this file except in compliance with the License.  You can obtain a copy
7 # in the file LICENSE in the source distribution or at
8 # https://www.openssl.org/source/license.html
9
10 # krb5's test suite clears LD_LIBRARY_PATH
11 LDFLAGS="-L`pwd`/$BLDTOP -Wl,-rpath,`pwd`/$BLDTOP"
12 CFLAGS="-I`pwd`/$BLDTOP/include -I`pwd`/$SRCTOP/include"
13
14 cd $SRCTOP/krb5/src
15 autoreconf
16 ./configure --with-ldap --with-prng-alg=os --enable-pkinit \
17             --with-crypto-impl=openssl --with-tls-impl=openssl \
18             CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
19
20 # quiet make so that Travis doesn't overflow
21 make -s
22
23 make check