dudemeister-uuid4r 0.1.2 → 0.1.3

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/extconf.rb +4 -1
  2. metadata +6 -4
@@ -2,7 +2,10 @@ require 'mkmf'
2
2
 
3
3
  if File.exist?(`which uuid-config`.chomp)
4
4
  $CFLAGS << " -Wall " << `uuid-config --cflags`.chomp
5
- $LDFLAGS << " " << `uuid-config --ldflags`.chomp
5
+ lib_dir = `uuid-config --libdir`.chomp
6
+ shared_lib = `grep -li uuid_create #{lib_dir}/*uuid*.so | grep -v ++`.chomp
7
+ shared_lib = `uuid-config --ldflags`.chomp if shared_lib.empty?
8
+ $LDFLAGS << " " << shared_lib
6
9
  end
7
10
 
8
11
  if !(have_library('uuid') || have_library('ossp-uuid'))
metadata CHANGED
@@ -5,20 +5,22 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daigo Moriwaki
13
+ - Stefan Kaes
14
+ - Ali Jelveh
13
15
  autorequire:
14
16
  bindir: bin
15
17
  cert_chain: []
16
18
 
17
- date: 2010-11-09 00:00:00 +01:00
19
+ date: 2010-11-10 00:00:00 +01:00
18
20
  default_executable:
19
21
  dependencies: []
20
22
 
21
- description: " This library generates and parses Universally Unique Identifier (UUID),\n based on OSSP uuid C library. So, libossp-uuid library is pre-required.\n OSSP uuid (http://www.ossp.org/pkg/lib/uuid/) is a ISO-C:1999 application\n programming interface (API) for the generation of DCE 1.1, ISO/IEC\n 11578:1996 and RFC 4122 compliant UUID. It supports DCE 1.1 variant UUIDs\n of version 1 (time and node based), version 3 (name based, MD5), version 4\n (random number based) and version 5 (name based, SHA-1).\n"
23
+ description: " \n Contains make configuration changes since this thing is a bitch to compile correclty.\n \n This library generates and parses Universally Unique Identifier (UUID),\n based on OSSP uuid C library. So, libossp-uuid library is pre-required.\n OSSP uuid (http://www.ossp.org/pkg/lib/uuid/) is a ISO-C:1999 application\n programming interface (API) for the generation of DCE 1.1, ISO/IEC\n 11578:1996 and RFC 4122 compliant UUID. It supports DCE 1.1 variant UUIDs\n of version 1 (time and node based), version 3 (name based, MD5), version 4\n (random number based) and version 5 (name based, SHA-1).\n"
22
24
  email: daigo@debian.org
23
25
  executables: []
24
26