]> git.wincent.com - wikitext.git/commit
Attempted fix for build issues on Linux with RubyGems 2.0.0
authorWincent Colaiuta <win@wincent.com>
Wed, 27 Feb 2013 08:37:46 +0000 (00:37 -0800)
committerWincent Colaiuta <win@wincent.com>
Wed, 27 Feb 2013 08:44:52 +0000 (00:44 -0800)
commitfcefbd9baa772d5d73abe13dc12edecd9632544b
tree853e993a179f109cd40c78da61d978a91f1150a9
parent4a6ca53a76ffca48964b2f70a8b3059b44cde6ee
Attempted fix for build issues on Linux with RubyGems 2.0.0

On Linux the build is failing with:

  make install
  /usr/bin/install -c -m 0755 wikitext.so /data/shared/bundle/ruby/2.0.0/gems/wikitext-4.0/ext
  /usr/bin/install: `wikitext.so' and `/data/shared/bundle/ruby/2.0.0/gems/wikitext-4.0/ext/wikitext.so' are the same file

Looks to affect many gems with native components:

  https://github.com/rubygems/rubygems/issues/411
  https://bugs.ruby-lang.org/issues/7344
  https://bugs.ruby-lang.org/issues/7698

The workaround applied here is to move the extension files down one
level in the hierarchy.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
21 files changed:
Rakefile
ext/wikitext/.autotest [moved from ext/.autotest with 100% similarity]
ext/wikitext/.gitignore [moved from ext/.gitignore with 70% similarity]
ext/wikitext/ary.c [moved from ext/ary.c with 100% similarity]
ext/wikitext/ary.h [moved from ext/ary.h with 100% similarity]
ext/wikitext/depend [moved from ext/depend with 100% similarity]
ext/wikitext/extconf.rb [moved from ext/extconf.rb with 100% similarity]
ext/wikitext/parser.c [moved from ext/parser.c with 100% similarity]
ext/wikitext/parser.h [moved from ext/parser.h with 100% similarity]
ext/wikitext/ruby_compat.h [moved from ext/ruby_compat.h with 100% similarity]
ext/wikitext/str.c [moved from ext/str.c with 100% similarity]
ext/wikitext/str.h [moved from ext/str.h with 100% similarity]
ext/wikitext/token.c [moved from ext/token.c with 100% similarity]
ext/wikitext/token.h [moved from ext/token.h with 100% similarity]
ext/wikitext/wikitext.c [moved from ext/wikitext.c with 100% similarity]
ext/wikitext/wikitext.dot [moved from ext/wikitext.dot with 100% similarity]
ext/wikitext/wikitext.h [moved from ext/wikitext.h with 100% similarity]
ext/wikitext/wikitext_ragel.c [moved from ext/wikitext_ragel.c with 100% similarity]
ext/wikitext/wikitext_ragel.h [moved from ext/wikitext_ragel.h with 100% similarity]
ext/wikitext/wikitext_ragel.rl [moved from ext/wikitext_ragel.rl with 100% similarity]
wikitext.gemspec