Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: ee22050f05d7
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: b7be61673c8d
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Sep 10, 2018

  1. pythonmagick: fix build (#46469)

    The original build broke with the following linker issue:
    
    ```
      CXXLD    _PythonMagick.la
    /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: cannot find -l-L/nix/store/4gh6ynzsd5ndx37hmkl62xa8z30k43y1-imagemagick-6.9.9-34/lib
    collect2: error: ld returned 1 exit status
    ```
    
    This happens since `BOOST_PYTHON_LIB` wasn't set properly, however
    `_PythonMagick.la` was linked with `-l$(BOOST_PYTHON_LIB)
    $(MAGICK_LIBS)`. With an empty `BOOST_PYTHON_LIB` the linker got
    confused.
    
    To work around this, the `boost` library directory needs to be specified
    explicitly. To ensure that the changes take effect, the original
    `configure` script shipped with `$src` needs to be removed and recreated
    using the `autoreconfHook`.
    
    Additionally the `imagemagick` license (https://spdx.org/licenses/ImageMagick.html)
    needs to be added to `lib/licenses.nix` to document the proper license
    of `pythonmagick` in the meta section.
    
    (cherry picked from commit 6d6cbd3)
    Ma27 authored and xeji committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    b7be616 View commit details
    Browse the repository at this point in the history