extras/physfs_rb/physfs/extconf.rb
author Ryan C. Gordon <icculus@icculus.org>
Sun, 26 Sep 2004 13:17:54 +0000
changeset 654 c0ae01de361d
parent 514 f4e89d934fee
permissions -rw-r--r--
Changed PHYSFS_file to PHYSFS_File to match rest of API's naming convention. This won't break binary compat (function signatures are extern "C" so name mangling doesn't apply), and I've placed a typedef for the old name to support legacy source code.

require 'mkmf'

$CFLAGS += `sdl-config --cflags`.chomp
$LDFLAGS += `sdl-config --libs`.chomp

have_library "physfs", "PHYSFS_init"
have_library "SDL", "SDL_AllocRW"

create_makefile "physfs_so"