Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
stop using brittle linking workarounds - refs #11 and Project-OSRM/os…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Dec 17, 2013
1 parent 00515bb commit 20ab5b3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
'includes': [ 'common.gypi' ],
'variables': {
'osrm%':'<!(pwd)/../Project-OSRM',
"module_name":"osrm",
"module_path":"./lib/",
'cwd%':'<!(pwd)',
Expand All @@ -10,24 +11,22 @@
{
'target_name': '<(module_name)',
'include_dirs': [
'<@(cwd)/../Project-OSRM/Library/',
'<@(osrm)/Library',
'./src/'
],
'libraries': [
'-L<@(cwd)/../Project-OSRM/build',
'-L<@(osrm)/build',
'-lOSRM',
'-lboost_program_options',
'-lboost_regex',
'-lboost_thread',
'-lboost_system',
'-lboost_filesystem',
'<@(cwd)/../Project-OSRM/build/libUUID.a',
'<@(cwd)/../Project-OSRM/build/libGITDESCRIPTION.a'
'-lboost_filesystem'
],
'conditions': [
[ 'OS=="linux"', {
'libraries+':[
'-Wl,-rpath=<@(cwd)/../Project-OSRM/build',
'-Wl,-rpath=<@(osrm)/build',
]}
],
['std == "c++11"', {
Expand Down

0 comments on commit 20ab5b3

Please sign in to comment.