diff options
Diffstat (limited to 'test/Rules.mak')
-rw-r--r-- | test/Rules.mak | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index 8e154c590..d31372f78 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -111,9 +111,9 @@ else HOST_LDFLAGS += -s endif -ifneq ($(strip $(HAVE_SHARED)),y) - LDFLAGS += -static - HOST_LDFLAGS += -static +ifeq ($(strip $(UCLIBC_STATIC)),y) + STATIC_LDFLAGS := -static + HOST_LDFLAGS += -static endif LDFLAGS += -B$(top_builddir)lib -Wl,-rpath,$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib |