File: link_mappy_to_libminimap.patch

package info (click to toggle)
minimap2 2.24%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,316 kB
  • sloc: ansic: 8,567; javascript: 3,200; makefile: 148; python: 84; sh: 42; perl: 29
file content (16 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 15 May 2020 14:00:54 +0200
Description: Add libminimap to Python library
 FIXME: seems extra_link_args and extra_objects are ignored both

--- minimap2.orig/setup.py
+++ minimap2/setup.py
@@ -9,6 +9,8 @@
 sys.path.append('python')
 
 extra_compile_args = ['-DHAVE_KALLOC']
+# extra_link_args= ['-lminimap2'] # FIXME: this is ignored :-(
+extra_objects = ['libminimap2.a']
 include_dirs = ["."]
 
 if platform.machine() in ["aarch64", "arm64"]: