blob: d5c3094047897ab125ad599b287e09fba5a0a2d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- Rakefile.orig Sun Oct 8 11:05:35 2006
+++ Rakefile Sun Oct 8 11:06:20 2006
@@ -18,12 +18,12 @@
ext_libs.each do |lib|
file lib.so => lib.objects do |t|
- sh "cc #{lib.ldflags} #{t.prerequisites.join(" ")} -o #{t.name}"
+ sh "cc -L%%X11BASE%%/lib #{lib.ldflags} #{t.prerequisites.join(" ")} -o #{t.name}"
end
lib.objects.each do |object|
file object => object.sub(/\.[^.]+$/, ".c") do |t|
- sh "cc #{lib.cflags} #{t.prerequisites.first} " +
+ sh "cc -I%%X11BASE%%/include #{lib.cflags} #{t.prerequisites.first} " +
"-c -o #{t.name}"
end
end
|