madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.58k stars 2.43k forks source link

configure: Support --sharedlibdir, --archs, --disable-shared. #853

Open DoctorNoobingstoneIPresume opened 1 year ago

DoctorNoobingstoneIPresume commented 1 year ago

Previously, only --archs= and --sharedlibdir= used to be supported. But other directories can be specified both with an equals sign and with a separate argument, e.g.: --prefix=/usr/my/directory --prefix /usr/my/directory so now we are allowing the same for --archs and --sharedlibdir.

Also, we are adding --disable-shared as an alias for --static.

Neustradamus commented 7 months ago

@madler: Can you look this PR?