summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.libs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.libs b/Makefile.libs
index b76f8c2b8..970127076 100644
--- a/Makefile.libs
+++ b/Makefile.libs
@@ -83,8 +83,8 @@ $(top_builddir)lib/$(LIB_NAME).so1: $($(LIB_NAME)_OBJ_PIC) $($(LIB_NAME)_MOBJ_PI
$(LN) -sf $($(LIB_NAME)_FULL_NAME) $@
$($(LIB_NAME)_DIR)/$(LIB_NAME)_pic.a: $($(LIB_NAME)_OBJ_PIC) $($(LIB_NAME)_MOBJ_PIC) $($(LIB_NAME)_SOBJ_PIC) $($(LIB_NAME)_SO_ADD)
-ifneq ($(strip $($(LIB_NAME)_STRIP_FLAGS)),)
- $(STRIPTOOL) $($(LIB_NAME)_STRIP_FLAGS) $^
+ifneq ($(strip $(STRIP_FLAGS)),)
+ $(STRIPTOOL) $(STRIP_FLAGS) $^
else
$(STRIPTOOL) -x -R .note -R .comment $^
endif