diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-08-19 12:57:23 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-08-19 12:57:23 +0200 |
commit | 36e10aa98a3d19a78a1889857262abe338a05eef (patch) | |
tree | 38ac1c2e03ade553ea3402d79934c295e76ce6c9 /ext/lazar/extconf.rb | |
parent | 4067d78c78c1f503b5f21d043ece8042260a3d78 (diff) |
libfminer rpath fixed, installation instructions
Diffstat (limited to 'ext/lazar/extconf.rb')
-rw-r--r-- | ext/lazar/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/lazar/extconf.rb b/ext/lazar/extconf.rb index d274c4d..b86c61b 100644 --- a/ext/lazar/extconf.rb +++ b/ext/lazar/extconf.rb @@ -73,7 +73,7 @@ system "git clone git://github.com/amaunz/fminer2.git #{fminer_dir}" system "sed -i 's,^INCLUDE_RB.*,INCLUDE_RB\ =\ #{RbConfig::CONFIG['rubyhdrdir']},g' Makefile" # TODO fix in fminer Makefile system "sed -i 's,-g, -g -I #{RbConfig::CONFIG['rubyhdrdir']} -I #{RbConfig::CONFIG['rubyarchhdrdir']} -I,' Makefile" # fix include path (CH) - system "sed -i '74s/$(CC)/$(CC) -L/' Makefile" # fix library path (CH) + system "sed -i '74s/$(CC)/$(CC) -Wl,-rpath,#{ob_lib.gsub('/','\/')} -L/' Makefile" # fix library path (CH) system "make ruby" end |