linamh/app-mobilephone/obexftp/files/obexftp-0.22-ruby-libpath.patch
2008-12-10 07:43:13 +00:00

23 lines
732 B
Diff

diff -ur obexftp-0.22.orig/swig/ruby/extconf.rb obexftp-0.22/swig/ruby/extconf.rb
--- obexftp-0.22.orig/swig/ruby/extconf.rb 2008-06-15 19:18:58.000000000 +0000
+++ obexftp-0.22/swig/ruby/extconf.rb 2008-11-05 21:38:45.000000000 +0000
@@ -21,10 +21,6 @@
end
dir_config('obexftp')
-if have_library('openobex', 'OBEX_Init') and
- find_library('bfb', 'bfb_io_open', '../../bfb/.libs') and
- find_library('multicobex', 'cobex_ctrans', '../../multicobex/.libs') and
- find_library('obexftp', 'obexftp_open', '../../obexftp/.libs')
create_makefile('obexftp')
# hack 2: strip all rpath references
@@ -33,7 +29,3 @@
out.puts line.gsub(/-Wl,-R'[^']*'/, '')
end
end
-else
- puts 'obex libs not found'
-end
-