blob: b018405af9f1e362b45e3914c8de6f62920752c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- extconf.rb.orig Wed Nov 17 15:56:22 2004
+++ extconf.rb Fri Feb 11 00:42:43 2005
@@ -32,13 +32,16 @@
end
-if /linux/ =~ RUBY_PLATFORM or /i386-freebsd/ =~ RUBY_PLATFORM
+if /linux/ =~ RUBY_PLATFORM or /freebsd/ =~ RUBY_PLATFORM
CONFIG['CC'] = `wx-config --cxx`
CONFIG['LDSHARED'].gsub!("gcc",`wx-config --cxx`.strip)
$CFLAGS += " `wx-config --cxxflags`"
$LDFLAGS += " `wx-config --libs` -Wl,--version-script,./version-script "
["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |str|
$objs.delete(str)
+ end
+ if ($use_xrc)
+ $LDFLAGS += " -lwx_gtk2_xrc-2.4 "
end
elsif /mingw32/ =~ RUBY_PLATFORM
|