3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
Jörg Thalheim b6bacc4bb2 llvmPackage_{3.4,3.5,3.7,3.8,3.9}: fix output of llvm-config
llvm-config is a tool to output compile and linker flags, when compiling against llvm.

The tool however outputs static library names despite libllvm is build
as shared library on nixos. This was fixed for llvm 3.4, 3.5 and 3.7.

For llvm 3.8 and 3.9 it printed the library extension twice (.so.so).
This was fixed in 4.0 and the patch is backported to 3.8 and 3.9 in
this pull request.

```
$ for i in 34 35 37 38 39; do echo "\nllvm-$i"; nix-shell -p llvmPackages_$i.llvm --run 'llvm-config --libnames'; done

llvm-34
libLLVMInstrumentation.so libLLVMIRReader.so libLLVMAsmParser.so
...

llvm-35
libLLVMLTO.so libLLVMObjCARCOpts.so libLLVMLinker.so libLLVMipo.so
...

llvm-37
libLLVMLTO.so libLLVMObjCARCOpts.so libLLVMLinker.so libLLVMBitWriter.so
...

llvm-38
libLLVM-3.8.1.so

llvm-39
libLLVM-3.9.so
```

fixes #26713
2017-06-20 10:22:06 +01:00
..
arduino arduino: 1.6.12 -> 1.8.2 2017-06-01 08:44:27 +02:00
beam-modules erlang: use makeOverridable for customizations 2017-06-08 22:13:30 +02:00
bower-modules/generic
compilers llvmPackage_{3.4,3.5,3.7,3.8,3.9}: fix output of llvm-config 2017-06-20 10:22:06 +01:00
coq-modules Use consistent package naming for HEAD.nix files 2017-05-09 10:31:15 +07:00
dotnet-modules/patches
eclipse/ecj
em-modules/generic
go-modules go-modules/generic: add missing PATHs to GOPATH when using nix-shell (#26176) 2017-06-01 20:40:21 +02:00
guile-modules
haskell-modules hackage-packages.nix: automatic Haskell package set update 2017-06-19 22:42:48 +02:00
idris-modules
interpreters clooj: fix download src 2017-06-18 11:39:55 +01:00
java-modules
libraries librsvg: 2.40.16 -> 2.40.17 2017-06-20 07:48:14 +02:00
lisp-modules
lua-modules
misc
mobile androidenv: Manually update missing packages 2017-06-10 03:57:30 +02:00
node-packages nodePackages.javascript-typescript-langserver: init at 2.0.0 2017-06-17 16:06:37 +03:00
ocaml-modules ocamlPackages.containers: 0.22 -> 1.2 2017-06-16 11:42:17 +02:00
perl-modules
pharo
pure-modules
python-modules python.pkgs: several maintenance bumps 2017-06-19 13:43:19 +02:00
qtcreator qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
r-modules
ruby-modules bundix: 2.1.0 -> 2.2.0 2017-06-09 22:37:36 +01:00
tools uhd: 3.10.1 -> 3.10.1.1 2017-06-20 03:56:42 +02:00
web nodejs: 8.0.0 -> 8.1.0 2017-06-08 22:15:57 +02:00