aboutsummaryrefslogtreecommitdiff
path: root/mk/libraries.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/libraries.mk')
-rw-r--r--mk/libraries.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/libraries.mk b/mk/libraries.mk
index a6965325a..69dede9af 100644
--- a/mk/libraries.mk
+++ b/mk/libraries.mk
@@ -38,7 +38,7 @@ endif
#
# - BUILD_SHARED_LIBS: if equal to ‘1’, a dynamic library will be
# built, otherwise a static library.
-define build-library =
+define build-library
$(1)_NAME ?= $(1)
_d := $$(strip $$($(1)_DIR))
_srcs := $$(sort $$(foreach src, $$($(1)_SOURCES), $$(src)))