From 759930164f2f52fb4196be77986a366083bedb0c Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Wed, 8 May 2013 14:01:55 +0200 Subject: [PATCH] Don't hardcode include paths in makefile.am, use $(srcdir) instead (issue #612) --- platform/unix/gen-makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/unix/gen-makefile b/platform/unix/gen-makefile index dc4ab7bf7..1008df63b 100644 --- a/platform/unix/gen-makefile +++ b/platform/unix/gen-makefile @@ -1,7 +1,7 @@ #!/bin/bash echo Generating src/Makefile.am ... cd src -inc_current=. +inc_current='$(srcdir)' inc_modules="$inc_current/modules" inc_libraries="$inc_current/libraries" echo "AM_CPPFLAGS = -I$inc_current -I$inc_modules -I$inc_libraries -I/usr/include/AL -I/usr/include/freetype2 \$(INCLUDE_LUA) -I/usr/include/SDL \$(FILE_OFFSET) -I/usr/include/gme