aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-aux/speedo.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index 683bab955..d99f37937 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -765,6 +765,9 @@ define SETVARS
fi; \
pkgbdir="$(bdir)/$(1)"; \
pkgcfg="$(call GETVAR,speedo_pkg_$(1)_configure)"; \
+ if [ "$(TARGETOS)" != native ]; then \
+ pkgcfg="$(pkgcfg) --libdir=$(idir)/lib"; \
+ fi; \
tmp="$(speedo_w32_cflags) \
$(call GETVAR,speedo_pkg_$(1)_extracflags)"; \
if [ x$$$$(echo "$$$$tmp" | tr -d '[:space:]')x != xx ]; then \