Merge pull request #77336 from matthewbauer/fix-missing-xmemdup-in-gnustep

gnustep/base: add libiberty to linker flags
This commit is contained in:
Matthew Bauer 2020-01-08 15:11:06 -05:00 committed by GitHub
commit 063935621c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@
, libobjc, libgcrypt , libobjc, libgcrypt
, icu , icu
, pkgconfig, portaudio , pkgconfig, portaudio
, libiberty
}: }:
let let
version = "1.26.0"; version = "1.26.0";
@ -30,8 +31,14 @@ gsmakeDerivation {
libobjc libgcrypt libobjc libgcrypt
icu icu
portaudio portaudio
libiberty
]; ];
patches = [ ./fixup-paths.patch ]; patches = [ ./fixup-paths.patch ];
# Bump to gcc9 has give missing xmemdup symbols. Need libiberty here
# to resolve it, unclear why. See #76927 for more info
NIX_LDFLAGS = "-liberty";
meta = { meta = {
description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa"; description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa";
}; };