poppler: fix build on Darwin

This commit is contained in:
Vladimír Čunát 2018-02-26 12:49:36 +01:00
parent 743a33a6be
commit 73b135e6b8
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

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";