Merge pull request #35667 from vcunat/p/poppler-darwin

poppler: fix build on Darwin
This commit is contained in:
Michael Raskin 2018-03-17 21:01:55 +00:00 committed by GitHub
commit ed4165570e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,9 @@ stdenv.mkDerivation rec {
(mkFlag qt5Support "QT5")
];
# Not sure when and how to pass it. It seems an upstream bug anyway.
CXXFLAGS = if stdenv.cc.isClang then [ "-std=c++11" ] else null;
meta = with lib; {
homepage = https://poppler.freedesktop.org/;
description = "A PDF rendering library";