radareorg / sdb

Simple and fast string based key-value database with support for arrays and json
https://www.radare.org/
MIT License
218 stars 62 forks source link

SDB Makefile has not granular configuration to package for libraries #89

Closed xambroz closed 8 years ago

xambroz commented 8 years ago

Hello, the SDB makefile doesn't make it easy to configure the locations of directories. It allows for defining prefix and destdir, but would not allow to change the libs directory. Way how is it used combined in the PFX variable makes it difficult to configure the name of the lib (/usr/lib64 for example) directory itself.

It would make packaging easier to include these possibilities in some way similiar as autoconf toolset does. It is especially needed for the LIBDIR.

Please could you consider including this patch to the upstream SDB?: https://rebus.fedorapeople.org/SOURCES/sdb-dirs.patch

What it does it:

Best regards Michal Ambroz

radare commented 8 years ago

Thanks! i have included this patch into the master branch. Will be included in the next release, that will happen soon :)

xambroz commented 8 years ago

Thank you.