Permalink
Browse files

chef_certgen should directly link against libcrypto

GCC 4.6+ is very pedatic and no longer allows indirect linking.  This
has been affecting chef-server omnibus builds on Ubuntu 11.10+.

More here: https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
  • Loading branch information...
1 parent a0e3d3c commit 58a574a79691460e41e038b15a6ae4cf9b26316e @schisamo schisamo committed Sep 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 rebar.config
View
2 rebar.config
@@ -3,7 +3,7 @@
{port_env, [ %% Make sure to link -lstdc++ on linux or solaris
{"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},
%% Make sure to link directly on linux
- {"(linux)", "ERL_LDFLAGS", "$LDFLAGS $ERL_LDFLAGS -lssl"},
+ {"(linux)", "ERL_LDFLAGS", "$LDFLAGS $ERL_LDFLAGS -lcrypto"},
%% OS X Leopard flags for 64-bit
{"darwin9.*-64$", "CXXFLAGS", "-m64"},
{"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},

0 comments on commit 58a574a

Please sign in to comment.