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.
- data/ext/renet/extconf.rb +6 -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
|
-
|
5
|
-
|
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")
|