Oops! | doesn't do the same thing in make as it does in ninja, resulting on

broken rebuilds. These should now work.
This commit is contained in:
David Given
2022-06-14 21:07:45 +02:00
parent 82fe952d7f
commit 9a5d0db3d4

View File

@@ -69,9 +69,9 @@ endef
use-library = $(eval $(use-library-impl))
define use-library-impl
$(1): | $(call $(3)_LIB)
$(1): private LDFLAGS += $(call $(3)_LDFLAGS)
$(2): private CFLAGS += $(call $(3)_CFLAGS)
$1: $(call $3_LIB)
$1: private LDFLAGS += $(call $3_LDFLAGS)
$2: private CFLAGS += $(call $3_CFLAGS)
endef
use-pkgconfig = $(eval $(use-pkgconfig-impl))