lol

pkgconfig: fix cygwin build

+14 -1
+13
pkgs/development/tools/misc/pkgconfig/2.36.3-not-win32.patch
··· 309 309 # else 310 310 311 311 /* On old systems which lack it, use setlocale or getenv. */ 312 + diff --git a/glib/gtypes.h b/glib/gtypes.h 313 + index c18e0bf..816685a 100644 314 + --- a/glib/glib/gtypes.h 315 + +++ b/glib/glib/gtypes.h 316 + @@ -462,7 +462,7 @@ G_END_DECLS 317 + * properly get exported in Windows DLLs. 318 + */ 319 + #ifndef GLIB_VAR 320 + -# ifdef G_PLATFORM_WIN32 321 + +# ifdef G_OS_WIN32 322 + # ifdef GLIB_STATIC_COMPILATION 323 + # define GLIB_VAR extern 324 + # else /* !GLIB_STATIC_COMPILATION */
+1 -1
pkgs/development/tools/misc/pkgconfig/default.nix
··· 26 26 configureFlags = [ "--with-internal-glib" ] 27 27 ++ optional (stdenv.isSunOS) [ "--with-libiconv=gnu" "--with-system-library-path" "--with-system-include-path" "CFLAGS=-DENABLE_NLS" ]; 28 28 29 - postInstall = ''rm "$out"/bin/*-pkg-config''; # clean the duplicate file 29 + postInstall = ''rm -f "$out"/bin/*-pkg-config''; # clean the duplicate file 30 30 31 31 meta = { 32 32 description = "A tool that allows packages to find out information about other packages";