Skip to content

Commit

Permalink
also link mapnik deps (fixes boost_system symbol error on osx)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Sep 10, 2015
1 parent b5562a3 commit 43f87e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/ruby_mapnik/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 + " "
Expand Down

0 comments on commit 43f87e5

Please sign in to comment.