From 60eaa3a7da6e0e4cffd0c35ce021d0379e6dd3f1 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 1 Oct 2007 22:46:33 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24683 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'loader') diff --git a/loader/Makefile b/loader/Makefile index 929efd98e6..509c148fc2 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -11,6 +11,8 @@ SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \ # QTX emulation is not supported in Darwin ifneq ($(TARGET_OS),Darwin) SRCS_COMMON += wrapper.S +else +win32.o: CFLAGS += $(CFLAG_STACKREALIGN) endif endif -- cgit v1.2.3