- Use the generic builder and override build and install phases instead of using buildCommand and missing phases and hooks, like fixup. - Fix build on Darwin by using the proper build script (ccc.osx). - Add cctools to build inputs because ccc.osx uses the libtool command. - The install_name of the library is not set so fix it with fixDarwinDylibNames. - Install headers into the expected location $out/include/lpsolve instead of $out/include. This follows what other distro do.launchpad/nixpkgs/master
parent
18c7c355fb
commit
514c8569aa
@ -1,13 +0,0 @@ |
||||
diff -u a/lp_lib.h b/lp_lib.h
|
||||
--- a/lp_lib.h 2016-05-04 19:45:15.753143720 +0900
|
||||
+++ b/lp_lib.h 2016-05-04 19:53:59.536920722 +0900
|
||||
@@ -59,9 +59,6 @@
|
||||
# if defined _WIN32 && !defined __GNUC__
|
||||
# define isnan _isnan
|
||||
# endif
|
||||
-#if defined NOISNAN
|
||||
-# define isnan(x) FALSE
|
||||
-#endif
|
||||
|
||||
#define SETMASK(variable, mask) variable |= mask
|
||||
#define CLEARMASK(variable, mask) variable &= ~(mask)
|
Loading…
Reference in new issue