blob: f46f7adb5b625a06a144aa1b497f834444c6f38f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-lib_xz.rb,v 1.1.1.1 2011/10/03 19:51:05 minskim Exp $
Use an absolute path for a library to load.
--- lib/xz.rb.orig 2011-10-02 00:41:00.000000000 +0000
+++ lib/xz.rb
@@ -77,7 +77,7 @@ module XZ
:lzma_buf_error,
:lzma_prog_error
- ffi_lib "liblzma"
+ ffi_lib "@LOCALBASE@/lib/liblzma.@SHLIB_EXT@"
attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int
attach_function :lzma_code, [:pointer, :int], :int
|