]> Kevux Git Server - fll/commit
Update: Rewrite the enabled/disabled logic for the install.sh script.
authorKevin Day <thekevinday@gmail.com>
Wed, 26 May 2021 02:42:46 +0000 (21:42 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 26 May 2021 03:27:24 +0000 (22:27 -0500)
commit6cb357ee2acecc93dd5cd9c3d5e9e013cfb05f58
tree593e88019776d56dd321748a6596f27b6184371a
parent4eb9fe36b66f99f8cb97007e457a44d35bf55f1e
Update: Rewrite the enabled/disabled logic for the install.sh script.

The --disable-shared/--disable-static should override --enable-shared-program/--enable-static-program (and similar).

Apply build_shared and build_static if and only if shared/static parameters are not specified.

Fix minor bug where wrong string is printed when an error is supposed to be printed.
The code is printing $build_shared when it should be printing $path_shared.
The code is printing 'library' in cases that should print 'program'.

$build_shared and $build_static no longer need to be directly tested for.
This testing happens when checking and guaranteeing the individual program/library shared/static state.
build/scripts/install.sh