libtomcrypt: aes_enc.o wasn't compiled properly; fixes missing symbols.

This commit is contained in:
Juan RP 2013-07-18 03:41:00 +02:00
parent 9d03bc1454
commit 9a389e839f
2 changed files with 11 additions and 2 deletions

View file

@ -121,7 +121,7 @@
+This manual page was written by Michael Stapelberg <michael@stapelberg.de>,
+for the Debian project (and may be used by others).
--- a/makefile.shared.orig 2007-05-12 16:46:25.000000000 +0200
+++ b/makefile.shared 2013-05-27 17:00:13.143450243 +0200
+++ b/makefile.shared 2013-07-18 03:38:06.551390390 +0200
@@ -9,7 +9,7 @@
VERSION=0:117
@ -131,6 +131,15 @@
# ranlib tools
ifndef RANLIB
@@ -231,7 +231,7 @@ default:library
#ciphers come in two flavours... enc+dec and enc
src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
- $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
+ libtool --mode=compile --tag=CC @@CC@@ $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
#These are the rules to make certain object files.
src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
@@ -248,15 +248,16 @@ testprof/$(LIBTEST):
objs: $(OBJECTS)

View file

@ -1,7 +1,7 @@
# Template file for 'libtomcrypt'
pkgname=libtomcrypt
version=1.17
revision=3
revision=4
patch_args="-Np1"
hostmakedepends="libtool"
short_desc="Fairly comprehensive, modular and portable cryptographic toolkit"