| Commit message (Collapse) | Author | Files | Lines |
|
Currently, the Makefile provides no version information about library to
the macOS linker. This makes the linker fill in zeroes for
`compatibility_version` and `current_version` by default.
This is a problem for when you make breaking changes to the library that
require re-compilation of linked software. The new library will still
have a `compatibility_version` of `0.0.0`, which misleads the linker
into believing the new library is a drop-in replacement for the old one.
Let's fix that by making sure we pass version information correctly to
the linker on macOS.
NOTE: Since this increments the `compatibility_version` of the DSO from
`0.0.0` to `1.0.0`, this change will require re-compilation of any macOS
software that dynamically link against `libkeccak`. If you'd like to
avoid this inconvenience for your users, you may wish to wait until you
decide to increment `LIB_MAJOR` or otherwise make breaking changes to
`libkeccak` before merging this change.
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
The coreutil `rm` will by default exit with failure if it is instructed
to remove a file that doesn't exist. Using `rm -f` will suppress this
behavior, so `rm` will exit with success whether or not the file had
existed before invoking `rm -f`.
|
|
If libkeccak is not already installed in the system, then
test.c and benchmark.c will fail to compile. This is because
they previously used `#include <libkeccak.h>` with angled brackets,
which doesn't search `.` by default. Using `#include "libkeccak.h"`
will search `.` so these will compile.
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Credits go to the authors of codespell.
Discovered while preparing for a release of 'ohno' an esoteric language
based on (ab)using keccak as a compiler.
|
|
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|