diff options
author | Memphiz <memphis@machzwo.de> | 2014-01-15 19:32:58 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2014-01-15 20:50:37 +0100 |
commit | 0e53fea3bbf092cccad9f5ade492754ee2a22ead (patch) | |
tree | 278436c4168dda22ef9ab4885962abb0326efb61 /tools/depends/target/libmpeg2/Makefile | |
parent | a3bb33ddb34f2ac4101d272997fcf7f626cc17f3 (diff) |
[ios7/ios/atv2] - link statically against libmpeg2 - since ios7 we crash and burn when we load libmpeg2 as dylib - closes #14813
Diffstat (limited to 'tools/depends/target/libmpeg2/Makefile')
-rw-r--r-- | tools/depends/target/libmpeg2/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/depends/target/libmpeg2/Makefile b/tools/depends/target/libmpeg2/Makefile index 15dbd8cbe8..bdefc337ef 100644 --- a/tools/depends/target/libmpeg2/Makefile +++ b/tools/depends/target/libmpeg2/Makefile @@ -51,6 +51,11 @@ ifeq ($(OS),android) -$(READELF) --dynamic $(PREFIX)/lib/libxbmpeg2convert.so | grep ibrary # endif +#on ios we link statically against libmpeg2 because of crash&burn since ios7 - +#so remove the dylib so the linker doesn't see it +ifeq ($(OS),ios) + rm -f $(PREFIX)/lib/libmpeg2.la $(PREFIX)/lib/libmpeg2.dylib $(PREFIX)/lib/libmpeg2.0.dylib +endif touch $@ clean: |