Store openssl files in /usr/lib/ssl
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 13 Aug 2007 19:35:08 +0000 (19:35 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 13 Aug 2007 19:35:08 +0000 (19:35 -0000)
package/openssl/openssl.mk

index cddcb379b44ab57ef61229a252dfe0c4cb61da03..64e36a0f22aeca333f201fc4e28d4692acb7d337 100644 (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.