Permalink
Browse files

Link with X11 correctly and use clang by default

  • Loading branch information...
1 parent c18b1e2 commit aaf861ed83a91eea075eeced5c20347705afc9b0 @ioquatix ioquatix committed Dec 12, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 teapot.rb
View
@@ -24,8 +24,8 @@
configure []
- default cc "gcc"
- default cxx "g++"
+ default cc "clang"
+ default cxx "clang++"
end
target.depends :variant
@@ -53,4 +53,9 @@
target.provides "Language/C++11" do
cxxflags %W{-std=c++11 -Wno-c++11-narrowing}
end
+
+ target.provides "Aggregate/Display" do
+ append linkflags ["-lX11", "-lGL"]
+ end
end
+

0 comments on commit aaf861e

Please sign in to comment.