diff --git a/config/rules.mk b/config/rules.mk index 667ee975b21..accae0b1d4c 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -335,9 +335,11 @@ endif # Make sure to wrap static libs inside linker specific flags to turn on & off # inclusion of all symbols inside the static libs # +ifndef NO_LD_ARCHIVE_FLAGS ifdef SHARED_LIBRARY_LIBS EXTRA_DSO_LDOPTS := $(MKSHLIB_FORCE_ALL) $(SHARED_LIBRARY_LIBS) $(MKSHLIB_UNFORCE_ALL) $(EXTRA_DSO_LDOPTS) endif +endif # # This will strip out symbols that the component shouldnt be