Store openssl files in /usr/lib/ssl

This commit is contained in:
Ulf Samuelsson 2007-08-13 19:35:08 +00:00
parent 28294fe798
commit 5081b43120

View File

@ -44,10 +44,12 @@ $(OPENSSL_DIR)/Makefile: $(OPENSSL_DIR)/.unpacked
CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 $(TARGET_CFLAGS)" \
PATH=$(TARGET_PATH) \
./Configure linux-$(OPENSSL_TARGET_ARCH) --prefix=/ \
--openssldir=/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
--openssldir=/lib/ssl -L$(STAGING_DIR)/lib -ldl \
-I$(STAGING_DIR)/usr/include $(OPENSSL_OPTS) threads \
shared no-idea no-mdc2 no-rc5)
# --openssldir=/usr/lib/ssl results in files in /usr/usr/lib...
$(OPENSSL_DIR)/apps/openssl: $(OPENSSL_DIR)/Makefile
$(MAKE1) CC=$(TARGET_CC) -C $(OPENSSL_DIR) all build-shared
# Work around openssl build bug to link libssl.so with libcrypto.so.