diff --git a/Makefile b/Makefile index c1ca2ca..d219e09 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ OMIT_FRAME_POINTER = -fomit-frame-pointer # Name of .pc file. "lua5.1" on Debian/Ubuntu LUAPKG = lua5.1 -CFLAGS = `pkg-config $(LUAPKG) --cflags` -O3 -Wall +CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall LFLAGS = -shared $(OMIT_FRAME_POINTER) INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD` @@ -40,7 +40,7 @@ INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD` ## uncomment and change the following ones according to your building ## enviroment. -#CFLAGS = -I/usr/include/lua5.1/ -O3 -Wall +#CFLAGS = -I/usr/include/lua5.1/ -fPIC -O3 -Wall #LFLAGS = -shared $(OMIT_FRAME_POINTER) #INSTALL_PATH = /usr/lib/lua/5.1 diff --git a/README b/README index ddca991..4a14fa8 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ Lua-iconv: performs character set conversions in Lua - (c) 2005-08 Alexandre Erwin Ittner + (c) 2005-09 Alexandre Erwin Ittner Project page: http://lua-iconv.luaforge.net/ @@ -12,7 +12,7 @@ sequence of corresponding characters in another codeset. The codesets are those specified in the iconv.new() call that returned the conversion descriptor, cd. -Lua-iconv r5 *requires* Lua 5.1. If you are using Lua 5.0, please use the +Lua-iconv 5 *requires* Lua 5.1. If you are using Lua 5.0, please use the first release (lua-iconv-r1). Details regarding iconv may be obtained from: @@ -22,7 +22,7 @@ http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.h.html === LICENSE === -Lua-iconv is (c) 2005-08 Alexandre Erwin Ittner +Lua-iconv is (c) 2005-09 Alexandre Erwin Ittner Lua-iconv is copyrighted free software: it can be used for both academic and commercial purposes at absolutely no cost. There are no royalties diff --git a/luaiconv.c b/luaiconv.c index 25ae58b..2dd42e5 100644 --- a/luaiconv.c +++ b/luaiconv.c @@ -1,6 +1,6 @@ /* * luaiconv - Performs character set conversions in Lua - * (c) 2005-08 Alexandre Erwin Ittner + * (c) 2005-09 Alexandre Erwin Ittner * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the @@ -37,7 +37,7 @@ #include #define LIB_NAME "iconv" -#define LIB_VERSION LIB_NAME " r5" +#define LIB_VERSION LIB_NAME " 5" #define ICONV_TYPENAME "iconv_t" diff --git a/maketargz.sh b/maketargz.sh index deb21be..f386eed 100755 --- a/maketargz.sh +++ b/maketargz.sh @@ -1,7 +1,7 @@ #!/bin/sh PACKAGE=lua-iconv -VERSION=r5 +VERSION=5 DIRNAME=$PACKAGE-$VERSION TGZNAME=$DIRNAME.tar.gz