Permalink
Browse files

Linker flags need to be in reverse order, i.e. most dependent to leas…

…t dependent.
  • Loading branch information...
ioquatix committed Jun 27, 2013
1 parent e00547b commit 1f5ba299ad299f4599e22e2941e0b9641d909aab
Showing with 2 additions and 2 deletions.
  1. +2 −2 teapot.rb
View
@@ -20,7 +20,7 @@
cflags [:buildflags]
cxxflags [:buildflags]
- ldflags [:buildflags, :linkflags]
+ ldflags [:buildflags, lambda {linkflags.reverse}]
configure []
end
@@ -79,7 +79,7 @@
target.depends "Aggregate/OpenGL/Headers"
target.provides "Aggregate/Display" do
- append linkflags ["-lX11", "-lGL"]
+ append linkflags ["-lX11"]
end
target.provides "Library/OpenGL" do

0 comments on commit 1f5ba29

Please sign in to comment.