pkg-config might be worth installing in $(BINDIR) at some point
Updated license information (switched to 2-clause BSD)
Fixed obtaining the PREFIX from the command line
Solaris also doesn't have "-Wl,-rpath-link" apparently