Commit Graph

13 Commits

Author SHA1 Message Date
pancake
b15a179a18 Fix #184 - Proper handling of DESTDIR 2015-11-10 11:47:19 +01:00
Nguyen Anh Quynh
a1f8c8ae87 Makefile: overwrite existent library for install target with 'ln -sf' 2015-10-25 09:44:01 +08:00
Jonathon Reinhart
efb0c87e39 fix install logic after changing LIBRARY
Now that LIBRARY is the versioned name (e.g. "libunicorn.so.0"), we
don't need this rename step; just create the symlink for libunicorn.so.
If VERSION_EXT isn't set, then the library we installed already has the
correct name, and no symlink is necessary.

We should probably be running 'ldconfig' to handle this, or better yet,
using libtool.
2015-10-24 16:43:34 -04:00
Jonathon Reinhart
c7de7e44a6 create versioned library name and symlink unversioned name on *nix
This allows executables (e.g. unit tests) to link against the
libunicorn.so in the build directory, after the SONAME was added in
4860fdb3.

Becuase libunicorn.so has an SONAME of libunicorn.so.0, the linker uses
the SONAME for the DT_NEEDED entry of the tests. But because a library
with that name did not exist, they would fail to run.
2015-10-21 22:48:25 -04:00
Nguyen Anh Quynh
bc96e221df fix UNICORN_DEBUG backward setting (issue #204) 2015-10-19 08:47:19 +08:00
Nguyen Anh Quynh
4860fdb34c add soname to dynamic library. this fixes issue #188 2015-10-16 22:03:24 +08:00
danghvu
242713ce64 Missing update on make test clean 2015-09-21 21:04:20 -05:00
danghvu
3c1d65ea66 Reorganize test directories 2015-09-21 20:47:45 -05:00
Jonathon Reinhart
1be8ef69c8 add 'test' to main Makefile 2015-09-20 22:16:48 -04:00
fabs
caad81e2da Add UNICORN_QEMU_FLAGS
Fixes #107
2015-09-04 17:56:29 +02:00
danghvu
1161401c35 Makefile: make install also compiles samples 2015-08-26 16:20:29 +07:00
Nguyen Anh Quynh
557e004426 add 'make uninstall'. this should fix issue #23 2015-08-24 09:57:01 +08:00
Nguyen Anh Quynh
344d016104 import 2015-08-21 15:04:50 +08:00