mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
fltk: add cf-private on darwin
Undefined symbols for architecture x86_64: "_NSDefaultRunLoopMode", referenced from: fl_open_display() in Fl_cocoa.o fl_ready() in Fl_cocoa.o fl_wait(double) in Fl_cocoa.o "_OBJC_CLASS_$_NSArray", referenced from: objc-class-ref in Fl_cocoa.o "_OBJC_CLASS_$_NSData", referenced from: objc-class-ref in Fl_Sys_Menu_Bar.o "_OBJC_CLASS_$_NSDate", referenced from: objc-class-ref in Fl_cocoa.o "_OBJC_CLASS_$_NSDictionary", referenced from: objc-class-ref in Fl_cocoa.o "_OBJC_CLASS_$_NSURL", referenced from: objc-class-ref in Fl_Native_File_Chooser_MAC.o ld: symbol(s) not found for architecture x86_64
This commit is contained in:
parent
c60816c523
commit
78623f492c
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
|
||||
, freeglut, libGLU_combined, libjpeg, zlib, libXft, libpng
|
||||
, darwin, libtiff, freetype
|
||||
, libtiff, freetype, cf-private, Cocoa, AGL, GLUT
|
||||
}:
|
||||
|
||||
let
|
||||
@ -35,7 +35,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
propagatedBuildInputs = [ inputproto ]
|
||||
++ (if stdenv.isDarwin
|
||||
then (with darwin.apple_sdk.frameworks; [Cocoa AGL GLUT freetype libtiff])
|
||||
then [ Cocoa AGL GLUT freetype libtiff cf-private /* Needed for NSDefaultRunLoopMode */ ]
|
||||
else [ xlibsWrapper libXi freeglut ]);
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -9574,7 +9574,10 @@ with pkgs;
|
||||
|
||||
flite = callPackage ../development/libraries/flite { };
|
||||
|
||||
fltk13 = callPackage ../development/libraries/fltk { };
|
||||
fltk13 = callPackage ../development/libraries/fltk {
|
||||
inherit (darwin) cf-private;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa AGL GLUT;
|
||||
};
|
||||
fltk = self.fltk13;
|
||||
|
||||
flyway = callPackage ../development/tools/flyway { };
|
||||
|
Loading…
Reference in New Issue
Block a user