Created
October 23, 2018 19:15
-
-
Save ParasoftExamples/80a96280a02a936503d6c3a52db2fba6 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
OPENSSL_PATH=’/home/USER/heartbleed/env’ | |
INSURE_PATH=’/home/USER/insure’ | |
MY_LIBS=’-linsure -linsure_mt -ldl’ | |
MY_LIB_PATHS="-L${OPENSSL_PATH}/lib -L${INSURE_PATH}/lib" | |
MY_LD_LIB_PATHS="${OPENSSL_PATH}/lib:${INSURE_PATH}/lib" | |
MY_FLAGS="$MY_LIB_PATHS $MY_LIBS" | |
CC="$(command -v gcc)" \ | |
CXX="$(command -v g++)" \ | |
CFLAGS="$MY_FLAGS" \ | |
CPPFLAGS="$MY_FLAGS" \ | |
LDFLAGS="$MY_LIB_PATHS" \ | |
LD_LIBRARY_PATH="$MY_LD_LIB_PATHS" \ | |
./configure \ | |
--prefix=/home/USER/heartbleed/env \ | |
--with-openssl \ | |
--with-openssl-includes=/home/USER/heartbleed/env/include \ | |
--with-openssl-libs=/home/USER/heartbleed/env/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment