aboutsummaryrefslogtreecommitdiff
path: root/sub/strace/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-02-05 17:26:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-02-05 17:26:34 +0000
commit177b4368eabf50e720f39811a35d5a699dbf7dd4 (patch)
tree1df708e29787dd446fb80c32b9f38e4eccea5a6e /sub/strace/Makefile
parentb959f7b4e654c79b2ae33883f395d979906096c4 (diff)
downloadlh-bootstrap-177b4368eabf50e720f39811a35d5a699dbf7dd4.tar.xz
Add -lrt -lpthread for strace
Diffstat (limited to 'sub/strace/Makefile')
-rw-r--r--sub/strace/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/strace/Makefile b/sub/strace/Makefile
index d99ca85..0124395 100644
--- a/sub/strace/Makefile
+++ b/sub/strace/Makefile
@@ -18,7 +18,7 @@ $(OUTPUT)/build-host/.lh_strace_copied: $(OUTPUT)/build-host/.lh_strace_dled | $
exec setuidgid $(NORMALUSER) s6-touch $@
$(OUTPUT)/build-host/.lh_strace_configured: $(OUTPUT)/build-host/.lh_strace_copied | $(OUTPUT)/build-build/.lh_skarnet_installed
- exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/strace-$(STRACE_VERSION) export CC "$(BUILD_HOST_CC)" ./configure --host=$(TRIPLE) --prefix=/opt/strace-$(STRACE_VERSION) --enable-mpers=no
+ exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/strace-$(STRACE_VERSION) export CC "$(BUILD_HOST_CC)" export LIBS "-lrt -lpthread" ./configure --host=$(TRIPLE) --prefix=/opt/strace-$(STRACE_VERSION) --enable-mpers=no
exec setuidgid $(NORMALUSER) s6-touch $@
$(OUTPUT)/build-host/.lh_strace_built: $(OUTPUT)/build-host/.lh_strace_configured | $(OUTPUT)/build-build/.lh_skarnet_installed