Browse files

Move luagd.c before $(LFLAGS) doesn't reference libgd and friends if you don't do
this on some systems
  • Loading branch information...
1 parent 95f99d0 commit da99b5d8ae62c4f483d840dec37bc8f4b1519ac7 @hoelzro hoelzro committed Feb 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
@@ -66,7 +66,7 @@ INSTALL_PATH=`pkg-config lua lua5.1 --variable=INSTALL_CMOD 2>/dev/null`
all: $(OUTFILE)
$(OUTFILE): luagd.c
- $(CC) -o $(OUTFILE) $(GDFEATURES) $(CFLAGS) $(LFLAGS) luagd.c
+ $(CC) -o $(OUTFILE) $(GDFEATURES) $(CFLAGS) luagd.c $(LFLAGS)
lua test_features.lua
install: $(OUTFILE)

0 comments on commit da99b5d

Please sign in to comment.