summaryrefslogtreecommitdiff
path: root/package/kodi/patches/patch-tools_TexturePacker_Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-22 10:10:34 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-22 10:10:34 +0100
commitb390eafdcf03f34ac6e2c22be43c27fbc93f01f0 (patch)
tree40e52d2c4ec574872e9a5bc8f9f1b83aad9a5517 /package/kodi/patches/patch-tools_TexturePacker_Makefile_in
parentc3f5dca02273cc360b9f4a5f48dbf7b870f933df (diff)
depend on libressl or openssl
Diffstat (limited to 'package/kodi/patches/patch-tools_TexturePacker_Makefile_in')
-rw-r--r--package/kodi/patches/patch-tools_TexturePacker_Makefile_in13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-tools_TexturePacker_Makefile_in b/package/kodi/patches/patch-tools_TexturePacker_Makefile_in
new file mode 100644
index 000000000..bdd6f679f
--- /dev/null
+++ b/package/kodi/patches/patch-tools_TexturePacker_Makefile_in
@@ -0,0 +1,13 @@
+--- kodi-14.0rc3.orig/tools/TexturePacker/Makefile.in 2014-12-09 14:19:32.000000000 +0100
++++ kodi-14.0rc3/tools/TexturePacker/Makefile.in 2014-12-20 19:50:10.000000000 +0100
+@@ -33,5 +33,10 @@ $(TARGET): $(SRCS) @abs_top_srcdir@/xbmc
+ # TexturePacker run native on build system, build it with native tools
+ make -C @abs_top_srcdir@/lib/libsquish/ libsquish-native.so
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) $(DEFINES) $(NATIVE_ARCH) $(SRCS) $(LDFLAGS_FOR_BUILD) -o $(TARGET)
++ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
++ install_name_tool -change /usr/lib/libSDL_image-1.2.0.dylib \
++ @@STAGING_HOST_DIR@@/usr/lib/libSDL_image-1.2.0.dylib \
++ $(TARGET)
++endif
+
+ include @abs_top_srcdir@/Makefile.include