diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-02-13T05·03-0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-02-13T05·03-0500 |
commit | 7ce1fae59f6cb4341f61a48a5216cb252e4eca54 (patch) | |
tree | 949694cbe850b79001cba63612a63d2d2481dc1f /mk/libraries.mk | |
parent | 7a7ec2229834aa294b3e09df7f514b7134287ec2 (diff) |
Support --disable-shared flag.
This tells Nix to not build the shared libraries.
Diffstat (limited to '')
-rw-r--r-- | mk/libraries.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/libraries.mk b/mk/libraries.mk index 14c95fa91cf6..3953446cba32 100644 --- a/mk/libraries.mk +++ b/mk/libraries.mk @@ -125,7 +125,7 @@ define build-library $(1)_PATH := $$(_d)/$$($(1)_NAME).a $$($(1)_PATH): $$($(1)_OBJS) | $$(_d)/ - $(trace-ar) ar crs $$@ $$? + $(trace-ar) $(AR) crs $$@ $$? $(1)_LDFLAGS_USE += $$($(1)_PATH) $$($(1)_LDFLAGS) |