diff options
Diffstat (limited to 'dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch')
-rw-r--r-- | dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch b/dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch new file mode 100644 index 000000000000..95de7be60690 --- /dev/null +++ b/dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch @@ -0,0 +1,13 @@ +diff --git a/makefile b/makefile +index 1a5a145..df09239 100644 +--- a/makefile ++++ b/makefile +@@ -45,7 +45,7 @@ OBJS= src/lxplib.o + lib: src/$(LIBNAME) + + src/$(LIBNAME) : $(OBJS) +- $(CC) $(CFLAGS) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat ++ $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -std=gnu99 -ansi -I$(LUA_INC) -I$(EXPAT_INC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat + + install: + mkdir -p $(LUA_LIBDIR) |