Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8edb10d31e2a7a0e393d845881549473f8518be6
      
https://github.com/NixOS/nixpkgs/commit/8edb10d31e2a7a0e393d845881549473f8518be6
  Author: Patrick Mahoney <[email protected]>
  Date:   2014-10-16 (Thu, 16 Oct 2014)

  Changed paths:
    M pkgs/development/libraries/talloc/default.nix

  Log Message:
  -----------
  talloc: Fix linker flags on darwin.

Before this patch, building talloc on darwin (OS X 10.8.5) results in:

gcc -dynamiclib -Wl,-search_paths_first -undefined error -o 
libtalloc.dylib.2.0.1 ./talloc.o  ./libreplace/replace.o 
./libreplace/snprintf.o ./libreplace/getpass.o ./libreplace/strptime.o   
-install_namelibtalloc.dylib.2
gcc: error: unrecognized command line option '-install_namelibtalloc.dylib.2'
make: *** [libtalloc.dylib.2.0.1] Error 1

Setting SONAMEFLAG to either "-install_name " (note trailing space), or
"-Wl,-install_name," results in a successful build. The latter seems
more clear.


  Commit: f426de737cc5484f6e053588e98b5450d74b3565
      
https://github.com/NixOS/nixpkgs/commit/f426de737cc5484f6e053588e98b5450d74b3565
  Author: Aristid Breitkreuz <[email protected]>
  Date:   2014-10-22 (Wed, 22 Oct 2014)

  Changed paths:
    M pkgs/development/libraries/talloc/default.nix

  Log Message:
  -----------
  Merge pull request #4557 from pmahoney/talloc-darwin

talloc: Fix linker flags on darwin.


Compare: https://github.com/NixOS/nixpkgs/compare/20a7c54c8794...f426de737cc5
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to