Properly link to the system's libv8#161
Conversation
c79378b to
233f595
Compare
|
@cowboyd Could you take a look at this, please? |
|
@cstrahan, thank you for the contribution but your test is failing and you are missing a test that checks if a NotFoundError is raised |
|
Also, how did you notice lv8 was not specified? Could you provide steps for reproduction if there was an error? |
Before this change, the Makefile didn't tell the linker to link libv8:
LIBS = $(LIBRUBYARG_SHARED) -lpthread -lpthread -lrt -ldl -lcrypt -lm -lc
Now it does:
LIBS = $(LIBRUBYARG_SHARED) -lv8 -lpthread -lpthread -lrt -ldl -lcrypt -lm -lc
233f595 to
2fca693
Compare
Without this patch, here's the output of With this patch:
The tests now pass, and I also added the new test.
I installed libv8 and therubyracer with: $ gem build libv8.gemspec
$ gem install ./libv8-3.16.14.7.gem -- --with-system-v8=true$ gem build therubyracer.gemspec
$ gem install therubyracer-0.12.1.gemIs there anything else I can do to help move this along? |
Properly link to the system's libv8
|
Agree. Our release system involves a lot of manual grunt work to build binaries which is why we invariably end up dragging our feet on it. It's been on my list for awhile, and if it's every going to get better, we need to find a way to automate it. It involves making an even point release, then bumping the version for binary releases on supported platforms. I found cross-compilation images for arm7, OSX and Windows on |
Before this change, the Makefile didn't tell the linker to link libv8:
Now it does: