renet 0.1.13-universal-darwin → 0.1.14-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/renet/extconf.rb +6 -2
  2. metadata +1 -1
data/ext/renet/extconf.rb CHANGED
@@ -1,8 +1,12 @@
1
1
  require 'mkmf'
2
2
 
3
3
  extension_name = 'renet'
4
- have_library('enet')
5
- dir_config(extension_name)
4
+
5
+ if !have_library('enet', 'enet_initialize')
6
+ puts "ENet library required to build the gem, please install it"
7
+ end
8
+
9
+ dir_config('enet', '/usr/include/enet', 'usr/lib')
6
10
  create_makefile(extension_name)
7
11
 
8
12
  system("make")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  prerelease:
6
6
  platform: universal-darwin
7
7
  authors: