| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
My previous PR (#16) deliberately set the install name at install time
instead of at build time, since this is the correct time to determine
the library's install name.
However, if you prefer to do this during build time instead, then there
is no need to call `install_name_tool`. We can pass the appropriate
flags to the linker instead.
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On macOS, libraries have "install names" which the linker records in a
binary that links against the library. At runtime, the dynamic loader
uses this install name to work out where to find the linked library.
Currently, the Makefile passes no information about the install name to
the linker, and so the DSO has an install name of `libkeccak.dylib`.
This is a problem when you link something against `libkeccak` but
install it outside the default linker search path, because the dynamic
loader won't be able to find it.
This change fixes that by making sure the dynamic loader will always be
able to find `libkeccak.dylib` regardless of where it's been installed.
We use `LIBMAJOREXT` since this is the typical convention for library
install names. For example, the system libc++ has an install name of
`libc++.1.dylib`, in the same way that `SONAME` also typically includes
the library major version on Linux.
|
|
|
|
| |
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`.
|
|
|
|
| |
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@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|
|
|
|
| |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
|