Ticket #19114: patch-src-Sconscript.diff
File patch-src-Sconscript.diff, 668 bytes (added by dbsgeo@…, 16 years ago) |
---|
-
src/SConscript
31 31 32 32 install_prefix = env['DESTDIR'] + '/' + prefix 33 33 34 libdir = os.path.normpath(prefix + '/' + env['LIBDIR_SCHEMA']) 35 34 36 libraries = env['LIBS'] 35 37 36 38 if env['INTERNAL_LIBAGG']: 37 39 libraries.insert(0, 'agg') 38 40 39 41 if env['PLATFORM'] == 'Darwin': 40 linkflags = '-Wl,-install_name, libmapnik.dylib'42 linkflags = '-Wl,-install_name,%s/libmapnik.dylib' % libdir 41 43 elif env['PLATFORM'] == 'SunOS' and env['CXX'].startswith('CC'): 42 44 linkflags = '-R. -h libmapnik.so' 43 45 else: # Linux and others