stfl: use libiconv fix on all non-glibc not just darwin

+2 -1
+2 -1
pkgs/development/libraries/stfl/default.nix
··· 13 13 buildPhase = '' 14 14 sed -i s/gcc/cc/g Makefile 15 15 sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h 16 + '' + stdenv.lib.optionalString (stdenv.hostPlatform.libc != "glibc") '' 17 + sed -i 's/LDLIBS += -lncursesw/LDLIBS += -lncursesw -liconv/' Makefile 16 18 '' + ( stdenv.lib.optionalString stdenv.isDarwin '' 17 - sed -i 's/LDLIBS += -lncursesw/LDLIBS += -lncursesw -liconv/' Makefile 18 19 sed -i s/-soname/-install_name/ Makefile 19 20 '' ) + '' 20 21 make