Created
July 4, 2017 05:40
-
-
Save mklooss/d910887e0065c2977ee1b9b8e3f03831 to your computer and use it in GitHub Desktop.
Compile with different Libs
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
#!/bin/bash | |
C_DIR=/opt/app | |
PKG_CONFIG_PATH="${C_DIR}/lib/pkgconfig" \ | |
LD_LIBRARY_PATH="${C_DIR}/lib" \ | |
CPPFLAGS="-I${C_DIR}/include" \ | |
LDFLAGS="-L${C_DIR}/lib" ./configure --prefix=$C_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment