Support static linking of libpe
A one-off compile and run is rather painful currently: either you need to install, or you need to rename libpe.so to libpe.so.1 and set LD_LIBRARY_PATH. For quick one-off usage a way to compile and use a static libpe would be much more convenient.
@merces @jweyrich do you guys have any plans on supporting static linking of libpe for the release v0.81?
Any progress on this one? I manually edited my LD_LIBRARY_PATH and that was inefficient.
I know this is old but as an update on this: Not with make. If somebody else implements this cleanly sure but while seeming trivial this would balloon the Makefiles even further. Maybe if we switch to CMake at some point as this is actually trivial with CMake.
I use LD_PRELOAD like LD_PRELOAD=lib/libpe/libpe.so src/build/readpe test.exe for testing.
Edit: I am looking into premake as that can generate portable make files.