File: ruby-paths.patch

package info (click to toggle)
spglib 2.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,092 kB
  • sloc: ansic: 126,258; python: 7,537; f90: 2,163; cpp: 1,261; ruby: 792; makefile: 30; sh: 18
file content (13 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Specifying the location of headers and shared library for Ruby.
Author: Andrius Merkys <merkys@debian.org>
--- a/ruby/extconf.rb
+++ b/ruby/extconf.rb
@@ -2,7 +2,7 @@
 
 require 'mkmf'
 extension_name = 'getspg'
-dir_config(extension_name)
+dir_config(extension_name, '$(ABS_TOP_DESTDIR)')
 
 if have_header('spglib.h') and have_library('symspg')
 	create_makefile(extension_name)