Changeset 832

Show
Ignore:
Timestamp:
08/11/07 14:47:59
Author:
dokai
Message:

Added rpath support to the postgis task.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • buildout/pcl.buildout/trunk/dependencies.cfg

    r831 r832  
    139139pre-make-hook = ${buildout:hooks-directory}/mapserver.py:pre_make 
    140140post-make-hook = ${buildout:hooks-directory}/mapserver.py:post_make 
    141 keep-compile-dir = true 
    142141 
    143142[worldborders] 
  • buildout/pcl.buildout/trunk/hooks/postgis.py

    r792 r832  
    3131               '$(prefix)') 
    3232 
     33    # Put in rpath info 
     34    rpath = '-Wl,-rpath,%(geos)s,-rpath,%(proj)s,-rpath,%(postgres)s' % dict( 
     35        geos='%s/lib' % buildout['geos']['location'], 
     36        proj='%s/lib' % buildout['proj']['location'], 
     37        postgres='%s/lib' % buildout['postgresql']['location'] 
     38        ) 
     39    substitute('Makefile.config', 
     40               'DLFLAGS=-shared', 
     41               'DLFLAGS=-shared %s' % rpath) 
     42