summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2018-03-30 19:16:11 +0000
committerDamjan Jovanovic <damjan@apache.org>2018-03-30 19:16:11 +0000
commite0f59ea0d587ac0cfc3081732a6a4ab030e7a457 (patch)
tree8d30638f2028d01a2f4cb6f1ca7288618f70b306 /solenv/gbuild
parentee34e88d5e6effdbfb88ff63a98e779bfd7fff05 (diff)
Port main/lingucomponent to gbuild.
Patch by: me
Notes
Notes: ignore: obsolete
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/LinkTarget.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 41d4bac5776e..f18373948d68 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -571,7 +571,7 @@ endef
# The list of libraries is used as is, ie it is not filtered with gb_Library_KNOWNLIBS.
#
# An error is signaled, when any of the library names does not look like
-# a base name, ie is prefixed by -l or lib or is folled by .lib or .so.
+# a base name, ie is prefixed by -l or is folled by .lib or .so.
#
# @param target
# @param libraries
@@ -582,7 +582,7 @@ endef
define gb_LinkTarget_add_external_libs
# Make sure that all libraries are given as base names.
-ifneq (,$$(filter -l% lib% %.so %.lib, $(2)))
+ifneq (,$$(filter -l% %.so %.lib, $(2)))
$$(eval $$(call gb_Output_announce,ERROR: Please give only library basenames to gb_LinkTarget_add_external_libs))
$$(eval $$(call gb_Output_announce,ERROR: (no prefixes -l% or lib%, no suffixes %.so or %.lib)))
$$(eval $$(call gb_Output_announce,ERROR: libraries given: $(2)))