commented out the linker directive #-Wl,-soname,$@ to get it to compile on mac, this may break it on linux