configure

changeset 89
5eecce5314d6
parent 69
4a10bc0ee80d
child 94
6b15a094d996
equal deleted inserted replaced
88:73b3485e96f1 89:5eecce5314d6
33 33
34 OS=`uname -s` 34 OS=`uname -s`
35 HOST=`uname -n` 35 HOST=`uname -n`
36 INSTALL_DIR=`pwd`/work 36 INSTALL_DIR=`pwd`/work
37 37
38 OPENSSL_CFLAGS=`pkg-config --cflags openssl` 38 LIBS_CFLAGS=`pkg-config --cflags libxml-2.0 openssl`
39 OPENSSL_LDFLAGS=`pkg-config --libs openssl` 39 LIBS_LDFLAGS=`pkg-config --libs libxml-2.0 openssl`
40 40
41 # create config.mk 41 # create config.mk
42 echo "generate config.mk" 42 echo "generate config.mk"
43 43
44 cat > config.mk << __EOF__ 44 cat > config.mk << __EOF__
70 70
71 echo " 71 echo "
72 include \$(BUILD_ROOT)/make/$CCONF 72 include \$(BUILD_ROOT)/make/$CCONF
73 include \$(BUILD_ROOT)/make/$PLATFORM 73 include \$(BUILD_ROOT)/make/$PLATFORM
74 74
75 CFLAGS += $OPENSSL_CFLAGS 75 CFLAGS += $LIBS_CFLAGS
76 LDFLAGS += $OPENSSL_LDFLAGS 76 LDFLAGS += $LIBS_LDFLAGS
77 77
78 " >> config.mk 78 " >> config.mk
79 79
80 80
81 81

mercurial