Skip to content

Commit

Permalink
makefile: Invert check for lua vs lua5.1
Browse files Browse the repository at this point in the history
Apparently ubuntu 13.x (?) installs lua5.1 by default for other packages
so checking for lua5.1 picks up the system installation by accident.

Instead now we check for lua first and then fall back to lua5.1 instead.
  • Loading branch information
chino committed Aug 8, 2013
1 parent e03a7ec commit 95a1cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ endif
#

# some systems use lua5.1
LUA=$(shell pkg-config lua5.1 && echo lua5.1 || echo lua)
LUA=$(shell pkg-config lua && echo lua || echo lua5.1)
MACOSX=$(shell uname -a | grep -qi darwin && echo 1 || echo 0)

# which version of sdl do you want to ask pkgconfig for ?
Expand Down

0 comments on commit 95a1cff

Please sign in to comment.