Merge pull request #105906 from alunduil/withFeatureAs

lib/strings: fix typo in example
This commit is contained in:
Sandro
2020-12-04 20:53:07 +01:00
committed by GitHub

View File

@@ -593,9 +593,9 @@ rec {
standard GNU Autoconf scripts.
Example:
with_Feature true "shared" "foo"
withFeatureAs true "shared" "foo"
=> "--with-shared=foo"
with_Feature false "shared" (throw "ignored")
withFeatureAs false "shared" (throw "ignored")
=> "--without-shared"
*/
withFeatureAs = with_: feat: value: withFeature with_ feat + optionalString with_ "=${value}";