1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

GNU Make 3.81 compatibility

3.81 doesn't understand the ‘define foo =’ syntax, which was added in
3.82.  So use ‘define foo’ instead.
This commit is contained in:
Eelco Dolstra 2014-02-04 11:02:49 +01:00
parent 143224f7cd
commit 4ee6001f95
7 changed files with 12 additions and 12 deletions

View file

@ -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)))