Hi Caolan

thanks a lot for your response

We should probably be tweaking the python build to find the headers and
(static) library of our internal openssl, e.g. see libxslt/makefile.mk
(and others) and SOLARINCDIR/SOLARLIBDIR, there we point the build to
our internal libs.


i had a look and here is the patch i deduced. may be wrong as makefile things are a bit cryptic to me ;)

i have a remaining question though (may be dummy) :

why in python_LDFLAGS do we use /usr/lib and not /usr$/lib as on other lines. is it important ? does it make any difference ?

ldd basis-link/program/python-core-2.6.1/lib/lib-dynload/_ssl.so
no longer lists libssl.so.4 and libcrypto.so.4


as i told, in previous build i myself made, i had no problem. the problem on
>>> import ssl
only occured with the official downloaded .deb (amd64)

so even if it builds i can't verify if the patch solves (or destroy) anything :(

thanks a lot again, and if something is pushed please consider also to provide it for 3.5.3 if possible as i'll need it

Laurent
>From 5cf9ae5dd45e5c4cd6a2fbbfd0f160beb43b3b3d Mon Sep 17 00:00:00 2001
From: Laurent Godard <lgodard.li...@laposte.net>
Date: Fri, 6 Apr 2012 12:45:34 +0200
Subject: [PATCH] tweaking the python build

to find the headers and (static) library of our internal openssl
---
 python/makefile.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/makefile.mk b/python/makefile.mk
index 3f35d4c..4c201ee 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -67,8 +67,8 @@ MYCWD=$(shell @pwd)/$(INPATH)/misc/build
 
 # CLFLAGS get overwritten in Makefile.pre.in
 .IF "$(SYSBASE)"!=""
-CC+:=-I$(SYSBASE)$/usr$/include
-python_LDFLAGS+=-L$(SYSBASE)/usr/lib
+CC+:=-I$(SOLARINCDIR)$/external -I$(SYSBASE)$/usr$/include
+python_LDFLAGS+=-L$(SOLARLIBDIR) -L$(SYSBASE)/usr/lib
 .IF "$(COMNAME)"=="sunpro5"
 CC+:=$(C_RESTRICTIONFLAGS)
 .ENDIF			# "$(COMNAME)"=="sunpro5"
-- 
1.7.9.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to