mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
explicit link to libmapnik.dylib
This commit is contained in:
parent
318465ef53
commit
fac00a5c74
@ -74,6 +74,12 @@ TARGET = plugin_env.SharedLibrary(
|
||||
LINKFLAGS=env.get('CUSTOM_LDFLAGS')
|
||||
)
|
||||
|
||||
if env['PLATFORM'] == 'Darwin':
|
||||
# if the plugin links to libmapnik2 ensure it is built first
|
||||
# this is optional, but helps to ensure proper compilation
|
||||
# if scons is building with multiple threads (e.g. with -jN)
|
||||
Depends(TARGET,'../../../../src/libmapnik2.dylib')
|
||||
|
||||
# if 'uninstall' is not passed on the command line
|
||||
# then we actually create the install targets that
|
||||
# scons will install if 'install' is passed as an arg
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user