Skip to content
Browse files

Add support for configuration scripts that look in the path for depen…

…dent binaries.
  • Loading branch information...
1 parent b41c7f6 commit ee00a5b1e6a0728fe0c36a9c51154fcbd72267e7 @fredngo committed Jun 29, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 server/bin/make
View
3 server/bin/make
@@ -46,6 +46,9 @@ Dir.mktmpdir do |dir|
end
unless deps.empty?
+ ENV["PATH"] ||= ""
+ ENV["PATH"] += ":%s/deps/bin" % dir
+
ENV["LDFLAGS"] ||= ""
ENV["LDFLAGS"] += " -L%s/deps/lib" % dir

0 comments on commit ee00a5b

Please sign in to comment.
Something went wrong with that request. Please try again.