From 43f87e5c361dfed505121769abac17338920dcac Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 9 Sep 2015 22:45:43 -0700 Subject: [PATCH] also link mapnik deps (fixes boost_system symbol error on osx) --- ext/ruby_mapnik/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/ruby_mapnik/extconf.rb b/ext/ruby_mapnik/extconf.rb index 856c433..b869cce 100644 --- a/ext/ruby_mapnik/extconf.rb +++ b/ext/ruby_mapnik/extconf.rb @@ -36,6 +36,8 @@ def append_ld_flags(flags) end $LDFLAGS += " " + %x{mapnik-config --libs}.chomp + " " +$LDFLAGS += " " + %x{mapnik-config --ldflags}.chomp + " " +$LDFLAGS += " " + %x{mapnik-config --dep-libs}.chomp + " " # force whitespace padding to avoid: https://github.com/mapnik/Ruby-Mapnik/issues/7 $CFLAGS += " " + %x{mapnik-config --cflags}.chomp + " "