… | |
… | |
9 | |
9 | |
10 | EOF |
10 | EOF |
11 | |
11 | |
12 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
12 | if ($^O =~ /win32/i or $^O =~ /mswin/) { |
13 | warn "do manual configuration, please\n"; |
13 | warn "do manual configuration, please\n"; |
14 | $INC = "-I/gtk/include -I/gtk/pango-1.0 -I/gtk/glib-2.0 -I/gtk/freetype2"; |
14 | $INC = "-I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2"; |
15 | $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz", |
15 | $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lz -lopengl32", |
16 | } else { |
16 | } else { |
17 | $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; |
17 | $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; |
18 | $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>; |
18 | $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>; |
19 | |
19 | |
20 | $INC =~ s/\n/ /g for $INC, $LIBS; |
20 | $INC =~ s/\n/ /g for $INC, $LIBS; |