Skip to content
Snippets Groups Projects
Commit 836e9fad authored by Felix Fietkau's avatar Felix Fietkau
Browse files

openssl: detect configuration changes and clean build tree accordingly (fixes #15067)


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 39852
parent 46c8633c
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,13 @@ else
endif
endif
STAMP_CONFIGURED := $(STAMP_CONFIGURED)_$(subst $(space),_,$(OPENSSL_OPTIONS))
define Build/Configure
[ -f $(STAMP_CONFIGURED) ] || { \
rm -f $(PKG_BUILD_DIR)/*.so.* $(PKG_BUILD_DIR)/*.a; \
find $(PKG_BUILD_DIR) -name \*.o | xargs rm -f; \
}
(cd $(PKG_BUILD_DIR); \
./Configure $(OPENSSL_TARGET) \
--prefix=/usr \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment