diff options
author | Memphiz <memphis@machzwo.de> | 2015-01-23 01:51:33 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-01-27 12:54:12 +0100 |
commit | 2a05f50f27e9c189894c3146eb93fb74f19b1997 (patch) | |
tree | e3491c9dacee114d1af4c1952941f18935b97d03 /tools | |
parent | bc6a85f643ed519999e471bbe2be1c65514f9403 (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/Makefile | 2 |
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 |