hacky yola güle güle, libtool'ları düzeltme işi libtool'a port edildi. Fakat ÖNEMLİ NOT: libtool pisinin şu an olduğu gibi INSTALL_DIR ve WORK_DIR env. değişkenlerini export ettiğini varsayarak yamalandı, o kısımdaki değişiklikler libtool yamasınında değişmesini gerektirecek...
This commit is contained in:
@@ -522,16 +522,6 @@ def strip_directory(top, excludelist=[]):
|
|||||||
ctx.const.debug_dir_suffix,
|
ctx.const.debug_dir_suffix,
|
||||||
remove_prefix(top, frpath))
|
remove_prefix(top, frpath))
|
||||||
|
|
||||||
# Some upstream sources have buggy libtool and ltmain.sh with them,
|
|
||||||
# which causes wrong path entries in *.la files. And these wrong path
|
|
||||||
# entries sometimes triggers compile-time errors or linkage problems.
|
|
||||||
# Instead of patching all these buggy sources and maintain these patches,
|
|
||||||
# PISI removes wrong paths...
|
|
||||||
extension = os.path.splitext(frpath)[1]
|
|
||||||
if extension == ".la":
|
|
||||||
# FIXME: I'm regular expr. idiot, so one can convert this to python...
|
|
||||||
os.system("sed -i -e 's~-L/var/tmp/pisi/[[:graph:]]* ~~g' %s" % frpath)
|
|
||||||
|
|
||||||
# real path in .pisi package
|
# real path in .pisi package
|
||||||
p = '/' + removepathprefix(top, frpath)
|
p = '/' + removepathprefix(top, frpath)
|
||||||
strip = True
|
strip = True
|
||||||
|
|||||||
Reference in New Issue
Block a user