glib2 4.0.7 → 4.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/rbglib.h +1 -1
- data/lib/mkmf-gnome.rb +7 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c2c5487f29ebf3acdc88e99156b8cae261f6441dac6632582d473ce65accb3
|
4
|
+
data.tar.gz: cfdf2199e9cd240cebd48deba4de79c8984bcffd0da60c10a866fe18a7f895ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67d10012778e5f0ac390adbfb80c4ec3492a0c858182685742be776f279d88c6775146dfad71f23858cb44d074ad74841b8481987ff6805e7755d94218387445
|
7
|
+
data.tar.gz: 8b2bd8cca9855bbf2edb22dfa00977d7d903ccbf7048160e4c564bd4472fc1181b962cc7de0d0325a79fa6ebed22f7d54f6695b292429042b8878a83866740c9
|
data/ext/glib2/rbglib.h
CHANGED
data/lib/mkmf-gnome.rb
CHANGED
@@ -199,19 +199,20 @@ def add_depend_package_path(target_name,
|
|
199
199
|
$INCFLAGS = "-I#{target_source_dir}".quote + " #{$INCFLAGS}"
|
200
200
|
end
|
201
201
|
|
202
|
-
return unless File.exist?(target_build_dir)
|
203
|
-
if target_source_dir != target_build_dir
|
204
|
-
$INCFLAGS = "-I#{target_build_dir}".quote + " #{$INCFLAGS}"
|
205
|
-
end
|
206
|
-
|
207
|
-
library_base_name = target_name.gsub(/-/, "_")
|
208
202
|
if is_gem
|
209
203
|
# .../glib2/ext/glib2/ -> .../glib2/ext/glib2/../../lib/
|
210
204
|
# (.../glib2/lib/)
|
211
205
|
library_dir = File.join(target_source_dir, "..", "..", "lib")
|
212
206
|
else
|
207
|
+
return unless File.exist?(target_build_dir)
|
213
208
|
library_dir = target_build_dir
|
214
209
|
end
|
210
|
+
|
211
|
+
if target_source_dir != library_dir
|
212
|
+
$INCFLAGS = "-I#{library_dir}".quote + " #{$INCFLAGS}"
|
213
|
+
end
|
214
|
+
|
215
|
+
library_base_name = target_name.gsub(/-/, "_")
|
215
216
|
case RUBY_PLATFORM
|
216
217
|
when /cygwin|mingw/
|
217
218
|
library_path = File.join(library_dir, "#{library_base_name}.so")
|