Skip to content

Commit

Permalink
libticonv: linnk with libiconv
Browse files Browse the repository at this point in the history
the darwin sdk rework removed the libiconv hook which adds -liconv so
add explicitly to work around broken autoconf libiconv detection
  • Loading branch information
paparodeo committed Oct 26, 2024
1 parent 1889ebd commit 417212e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/libraries/libticonv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, pkg-config
, autoreconfHook
, glib
, libiconv
}:

stdenv.mkDerivation rec {
Expand All @@ -21,11 +22,11 @@ stdenv.mkDerivation rec {

buildInputs = [
glib
];
] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;

configureFlags = [
"--enable-iconv"
];
] ++ lib.optional stdenv.hostPlatform.isDarwin "LDFLAGS=-liconv";

meta = with lib; {
changelog = "http://lpg.ticalc.org/prj_tilp/news.html";
Expand Down

0 comments on commit 417212e

Please sign in to comment.