Building with --with-builtin-tommath doesn't work
-------------------------------------------------
Key: CORE-6061
URL: http://tracker.firebirdsql.org/browse/CORE-6061
Project: Firebird Core
Issue Type: Bug
Components: Build Issues / Porting
Affects Versions: 4.0 Beta 2
Environment: Debian Linux
Reporter: Vadim Zeitlin
Priority: Minor
Building d2116ea145dceb113e9eb6cfb9b4d232bdaf8583
(T4_0_0_Beta1-106-gd2116ea145) with
./configure --with-builtin-tomcrypt --with-builtin-tommath --without-editline
--disable-static
doesn't work because tomcrypt doesn't find tommath headers. A trivial fix would
be
---------------------------------- >8 --------------------------------------
diff --git a/extern/libtomcrypt/makefile.shared
b/extern/libtomcrypt/makefile.shared
index b4e7c43062..e34d0746e1 100644
--- a/extern/libtomcrypt/makefile.shared
+++ b/extern/libtomcrypt/makefile.shared
@@ -14,7 +14,7 @@
# make -f makefile.shared PREFIX=/opt/libtom install
#
-CFLAGS += -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -pthread
+CFLAGS += -DLTC_PTHREAD -DUSE_LTM -DLTM_DESC -pthread -I../libtommath
PLATFORM := $(shell uname | sed -e 's/_.*//')
---------------------------------- >8 --------------------------------------
but this almost surely shouldn't be done unconditionally.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel