Mercurial > mplayer.hg
comparison loader/Makefile @ 24663:f5610b142363
Detect support of and add necessary CFLAGS to avoid crashes when loading
Win32 DLLs on Mac OS X / Intel.
based on patch by Ulion, ulion2002 gmail com
author | diego |
---|---|
date | Mon, 01 Oct 2007 22:46:33 +0000 |
parents | 5b7bef9eebfa |
children | 0d1a383697d6 |
comparison
equal
deleted
inserted
replaced
24662:955f18ee1d8d | 24663:f5610b142363 |
---|---|
9 SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \ | 9 SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \ |
10 pe_resource.c resource.c registry.c elfdll.c | 10 pe_resource.c resource.c registry.c elfdll.c |
11 # QTX emulation is not supported in Darwin | 11 # QTX emulation is not supported in Darwin |
12 ifneq ($(TARGET_OS),Darwin) | 12 ifneq ($(TARGET_OS),Darwin) |
13 SRCS_COMMON += wrapper.S | 13 SRCS_COMMON += wrapper.S |
14 else | |
15 win32.o: CFLAGS += $(CFLAG_STACKREALIGN) | |
14 endif | 16 endif |
15 endif | 17 endif |
16 | 18 |
17 SRCS_COMMON += dshow/DS_AudioDecoder.c \ | 19 SRCS_COMMON += dshow/DS_AudioDecoder.c \ |
18 dshow/DS_Filter.c \ | 20 dshow/DS_Filter.c \ |