diff options
| -rw-r--r-- | gnu/packages/ots.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/ots.scm b/gnu/packages/ots.scm index e3172453552..1c0d4a71f4c 100644 --- a/gnu/packages/ots.scm +++ b/gnu/packages/ots.scm | |||
| @@ -47,7 +47,19 @@ | |||
| 47 | (arguments | 47 | (arguments |
| 48 | ;; With '-jN', the rule to build the 'ots' command can be triggered | 48 | ;; With '-jN', the rule to build the 'ots' command can be triggered |
| 49 | ;; before libots-1.la has been built. | 49 | ;; before libots-1.la has been built. |
| 50 | '(#:parallel-build? #f)) | 50 | '(#:parallel-build? #f |
| 51 | |||
| 52 | #:phases (alist-cons-after | ||
| 53 | 'configure 'set-shared-lib-extension | ||
| 54 | (lambda _ | ||
| 55 | ;; For some reason, the 'libtool' script (from Libtool | ||
| 56 | ;; 1.5.2, Debian variant) sets 'shrext_cmds' instead of | ||
| 57 | ;; 'shrext' for the shared library file name extension. | ||
| 58 | ;; This leads to the creation of 'libots-1' instead of | ||
| 59 | ;; 'libots-1.so'. Fix that. | ||
| 60 | (substitute* "libtool" | ||
| 61 | (("shrext_cmds") "shrext"))) | ||
| 62 | %standard-phases))) | ||
| 51 | (inputs | 63 | (inputs |
| 52 | `(("glib" ,glib) | 64 | `(("glib" ,glib) |
| 53 | ("popt" ,popt) | 65 | ("popt" ,popt) |
