rhash / RHash

Great utility for computing hash sums
http://rhash.sf.net
BSD Zero Clause License
585 stars 116 forks source link

Add configure option to build non-static executable only statically linked with librhash.a #220

Closed lvd2 closed 1 year ago

lvd2 commented 1 year ago

Now --enable-static option results in a fully static executable, i.e. with libc.a and libcrypto.a parts inside and of enormous size (>1 Mb). Linking without -static option but still with librhash/librhash.a would include only librhash objects while keeping libc and libcrypto dynamic.

So this issue is about adding a new option to configure script to do exactly that.

rhash commented 1 year ago

The option --enable-static=librhash has been supported by commits: 851d459dbf530b7e1f64d4140d3c314ad054c70a, 3f5dfd7af8e181bc4792f8db0afde799f4c8a2e4.

rhash commented 1 year ago

Implemented in RHash v1.4.4.