aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2015-01-23 01:51:33 +0100
committerMemphiz <memphis@machzwo.de>2015-01-27 12:54:12 +0100
commit2a05f50f27e9c189894c3146eb93fb74f19b1997 (patch)
treee3491c9dacee114d1af4c1952941f18935b97d03 /tools
parentbc6a85f643ed519999e471bbe2be1c65514f9403 (diff)
[depends/PIL] - force "toolchain-gcc -shared" as linker command for shared libs (LDSHARED) - else it will pull stupid flags based on the building system into it (e.x. -bundle because i compile on osx - stupid python)
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/pythonmodule-pil/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/pythonmodule-pil/Makefile b/tools/depends/target/pythonmodule-pil/Makefile
index ac7a4d3d12..0f1e32f7ed 100644
--- a/tools/depends/target/pythonmodule-pil/Makefile
+++ b/tools/depends/target/pythonmodule-pil/Makefile
@@ -12,7 +12,7 @@ SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
ifeq ($(OS),android)
-CROSSFLAGS=PYTHONXCPREFIX="$(PREFIX)" LDFLAGS="$(LDFLAGS) -L$(PREFIX)/lib/dummy-lib$(APP_NAME)/ -l$(APP_NAME) -lm"
+CROSSFLAGS=PYTHONXCPREFIX="$(PREFIX)" LDSHARED="$(CC) -shared" LDFLAGS="$(LDFLAGS) -L$(PREFIX)/lib/dummy-lib$(APP_NAME)/ -l$(APP_NAME) -lm"
else
CROSSFLAGS=PYTHONXCPREFIX="$(PREFIX)" LDFLAGS="$(LDFLAGS)"
endif