benburkert-gpgme 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/gpgme/extconf.rb +6 -3
  2. metadata +3 -3
data/ext/gpgme/extconf.rb CHANGED
@@ -35,15 +35,18 @@ build(gpgme_tgz, "--with-gpg-error-prefix=#{PREFIX}", "--with-libassuan-prefix=#
35
35
 
36
36
  # copy gpgme
37
37
 
38
- FileUtils.cp "#{CWD}/dst/lib/libgpgme.a", "#{CWD}/libgpgme.a"
38
+
39
+ %w[ libassuan libgpg-error libgpgme ].each do |lib|
40
+ FileUtils.cp "#{CWD}/dst/lib/#{lib}.a", "#{CWD}/#{lib}_ext.a"
41
+ end
39
42
 
40
43
  $INCFLAGS[0,0] = " -I#{CWD}/dst/include "
41
- $LDFLAGS << " -L#{CWD} "
44
+ #$LDFLAGS << " -L#{CWD} "
42
45
  $CFLAGS << " -fPIC "
43
46
 
44
47
  # build gpgme extension
45
48
 
46
- unless have_library 'gpgme' and have_header 'gpgme.h'
49
+ unless have_library 'gpgme_ext' and have_library 'assuan_ext' and have_library 'gpg-error_ext' and have_header 'gpgme.h'
47
50
  STDERR.puts "\n\n"
48
51
  STDERR.puts "*********************************************************"
49
52
  STDERR.puts "********* error compiling and linking libgpgme. *********"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benburkert-gpgme
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daiki Ueno