diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2020-04-05 22:45:15 +0200 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2020-04-05 22:45:15 +0200 |
| commit | a533c5a1835cbeafaf595c4474e2ce6adde7de8d (patch) | |
| tree | 4c6f1fc166d47b0868df2cbdc13cca67e45dfa45 /gnu | |
| parent | 41cb710f4a400e67914a2b51bd204184f2889308 (diff) | |
gnu: octave-cli: Fix build.
* gnu/packages/maths.scm (octave-cli)[inputs]: Add LIBJPEG-TURBO.
[arguments]: Add "--enable-link-all-dependencies" in #:configure-flags.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/maths.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6d7625cfc1a..07a19d49270 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm | |||
| @@ -1586,6 +1586,12 @@ can solve two kinds of problems: | |||
| 1586 | ("glpk" ,glpk) | 1586 | ("glpk" ,glpk) |
| 1587 | ("glu" ,glu) | 1587 | ("glu" ,glu) |
| 1588 | ("graphicsmagick" ,graphicsmagick) | 1588 | ("graphicsmagick" ,graphicsmagick) |
| 1589 | |||
| 1590 | ;; TODO: libjpeg-turbo is indirectly required through libtiff. In | ||
| 1591 | ;; the next rebuild cycle, add an absolute reference for -ljpeg in | ||
| 1592 | ;; libtiff.la instead of having to provide it here. | ||
| 1593 | ("libjpeg" ,libjpeg-turbo) | ||
| 1594 | |||
| 1589 | ("hdf5" ,hdf5) | 1595 | ("hdf5" ,hdf5) |
| 1590 | ("lapack" ,lapack) | 1596 | ("lapack" ,lapack) |
| 1591 | ("libsndfile" ,libsndfile) | 1597 | ("libsndfile" ,libsndfile) |
| @@ -1624,7 +1630,12 @@ can solve two kinds of problems: | |||
| 1624 | `(#:configure-flags | 1630 | `(#:configure-flags |
| 1625 | (list (string-append "--with-shell=" | 1631 | (list (string-append "--with-shell=" |
| 1626 | (assoc-ref %build-inputs "bash") | 1632 | (assoc-ref %build-inputs "bash") |
| 1627 | "/bin/sh")) | 1633 | "/bin/sh") |
| 1634 | |||
| 1635 | ;; XXX: Without this flag, linking octave-cli fails with | ||
| 1636 | ;; undefined references to 'logf@GLIBCXX_3.4' et.al. due to | ||
| 1637 | ;; not pulling in liboctinterp.la for -lstdc++. | ||
| 1638 | "--enable-link-all-dependencies") | ||
| 1628 | #:phases | 1639 | #:phases |
| 1629 | (modify-phases %standard-phases | 1640 | (modify-phases %standard-phases |
| 1630 | (add-after 'configure 'configure-makeinfo | 1641 | (add-after 'configure 'configure-makeinfo |
