Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

TexturePacker faild to build with no -I/include/dir in NATIVE_CXXFLAG…

…S. Change ensures

-I. \
-I@abs_top_srcdir@/lib \
-I@abs_top_srcdir@/xbmc \
-I@abs_top_srcdir@/xbmc/linux
when NATIVE_ROOT_PATH=@USE_TEXTUREPACKER_NATIVE_ROOT@ results in "NATIVE_ROOT_PATH=", like happened to me twice, compiled xbmc on RPI...
  • Loading branch information...
commit 42b57199cc72d885299b193c731d6adfea32773b 1 parent 85b983e
@droidron authored
Showing with 17 additions and 17 deletions.
  1. +17 −17 tools/TexturePacker/Makefile.in
View
34 tools/TexturePacker/Makefile.in
@@ -12,24 +12,24 @@ CXXFLAGS+= \
RPATH=-Wl,-rpath=$(NATIVE_ROOT_PATH)/lib
ifeq (@USE_TEXTUREPACKER_NATIVE@,1)
-NATIVE_ROOT_PATH=@USE_TEXTUREPACKER_NATIVE_ROOT@
-ifdef NATIVE_ROOT_PATH
-ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
-DEFINES += -DTARGET_DARWIN
-NATIVE_ARCH=@DARWIN_NATIVE_ARCH@
-RPATH=
-endif
-NATIVE_CXXFLAGS+= -I. \
- -I$(NATIVE_ROOT_PATH)/include \
- -I@abs_top_srcdir@/lib \
- -I@abs_top_srcdir@/xbmc \
- -I@abs_top_srcdir@/xbmc/linux
-NATIVE_LIBS += -L$(NATIVE_ROOT_PATH)/lib
-endif
-NATIVE_LIBS += -lSDL_image -lSDL -llzo2
-NATIVE_LIBS += -L@abs_top_srcdir@/lib/libsquish -lsquish-native
+ NATIVE_CXXFLAGS+= -I. \
+ -I@abs_top_srcdir@/lib \
+ -I@abs_top_srcdir@/xbmc \
+ -I@abs_top_srcdir@/xbmc/linux
+ NATIVE_ROOT_PATH=@USE_TEXTUREPACKER_NATIVE_ROOT@
+ ifdef NATIVE_ROOT_PATH
+ ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
+ DEFINES += -DTARGET_DARWIN
+ NATIVE_ARCH=@DARWIN_NATIVE_ARCH@
+ RPATH=
+ endif
+ NATIVE_CXXFLAGS+= -I$(NATIVE_ROOT_PATH)/include
+ NATIVE_LIBS += -L$(NATIVE_ROOT_PATH)/lib
+ endif
+ NATIVE_LIBS += -lSDL_image -lSDL -llzo2
+ NATIVE_LIBS += -L@abs_top_srcdir@/lib/libsquish -lsquish-native
else
-LIBS += -L@abs_top_srcdir@/lib/libsquish -lsquish
+ LIBS += -L@abs_top_srcdir@/lib/libsquish -lsquish
endif
LIBS += -lSDL_image -lSDL -llzo2
Please sign in to comment.
Something went wrong with that request. Please try again.