mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2025-04-26 02:46:02 +00:00
Version is now set in src/include/Cytoplasm.h
.
This commit is contained in:
parent
e413092a54
commit
bc54f0ebfb
4 changed files with 12 additions and 12 deletions
7
configure
vendored
7
configure
vendored
|
@ -19,7 +19,7 @@ CFLAGS="-O1 -D_DEFAULT_SOURCE -I${INCLUDE}"
|
|||
LIBS="-lm -lpthread"
|
||||
|
||||
# Default args for all platforms.
|
||||
SCRIPT_ARGS="--prefix=/usr/local --lib-name=Cytoplasm --lib-version=0.4.1"
|
||||
SCRIPT_ARGS="--prefix=/usr/local --lib-name=Cytoplasm"
|
||||
|
||||
# Set SSL flags depending on the platform.
|
||||
case "$(uname)" in
|
||||
|
@ -86,9 +86,6 @@ for arg in $SCRIPT_ARGS; do
|
|||
--lib-name=*)
|
||||
LIB_NAME=$(echo "$arg" | cut -d '=' -f 2-)
|
||||
;;
|
||||
--lib-version=*)
|
||||
LIB_VERSION=$(echo "$arg" | cut -d '=' -f 2-)
|
||||
;;
|
||||
--enable-debug)
|
||||
DEBUG="-O0 -g"
|
||||
;;
|
||||
|
@ -107,7 +104,7 @@ if [ -n "$TLS_IMPL" ]; then
|
|||
LIBS="${LIBS} ${TLS_LIBS}"
|
||||
fi
|
||||
|
||||
CFLAGS="${CFLAGS} '-DLIB_NAME=\"${LIB_NAME}\"' '-DLIB_VERSION=\"${LIB_VERSION}\"' ${DEBUG}"
|
||||
CFLAGS="${CFLAGS} '-DLIB_NAME=\"${LIB_NAME}\"' ${DEBUG}"
|
||||
LDFLAGS="${LIBS} ${LDFLAGS}"
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue