configure

changeset 62
c47e081b6c0f
parent 44
3da1f7b6847f
child 69
4a10bc0ee80d
--- a/configure	Thu May 09 13:19:51 2013 +0200
+++ b/configure	Thu May 09 19:41:11 2013 +0200
@@ -35,6 +35,9 @@
 HOST=`uname -n`
 INSTALL_DIR=`pwd`/work
 
+OPENSSL_CFLAGS=`pkg-config --cflags openssl`
+OPENSSL_LDFLAGS=`pkg-config --libs openssl`
+
 # create config.mk
 echo "generate config.mk"
 
@@ -68,6 +71,10 @@
 echo "
 include \$(BUILD_ROOT)/make/$CCONF
 include \$(BUILD_ROOT)/make/$PLATFORM
+
+CFLAGS += $OPENSSL_CFLAGS
+LDFLAGS += $OPENSSL_LDFLAGS
+
 " >> config.mk
 
 

mercurial