mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
Link with -z noexecstack, fixes bug #258. Please test on all platforms!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15224 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
18be3387ac
commit
e0a7c06d38
4
Makefile
4
Makefile
@ -244,7 +244,7 @@ $(PRG): $(MPLAYER_DEP)
|
||||
ifeq ($(TARGET_WIN32),yes)
|
||||
windres -o osdep/mplayer-rc.o osdep/mplayer.rc
|
||||
endif
|
||||
$(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(MENU_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(STATIC_LIB) $(ARCH_LIB) $(I18NLIBS) $(MATH_LIB)
|
||||
$(CC) $(CFLAGS) -Wl,-z,noexecstack -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(MENU_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(STATIC_LIB) $(ARCH_LIB) $(I18NLIBS) $(MATH_LIB)
|
||||
|
||||
mplayer.exe.spec.c: libmpcodecs/libmpcodecs.a
|
||||
winebuild -fPIC -o mplayer.exe.spec.c -exe mplayer.exe -mcui \
|
||||
@ -259,7 +259,7 @@ mplayer_wine.so: $(MPLAYER_DEP)
|
||||
|
||||
ifeq ($(MENCODER),yes)
|
||||
$(PRG_MENCODER): $(MENCODER_DEP)
|
||||
$(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) libmpcodecs/libmpencoders.a $(ENCORE_LIB) $(COMMON_LIBS) $(EXTRA_LIB) $(MLIB_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(ARCH_LIB) $(I18NLIBS) $(MATH_LIB)
|
||||
$(CC) $(CFLAGS) -Wl,-z,noexecstack -o $(PRG_MENCODER) $(OBJS_MENCODER) libmpcodecs/libmpencoders.a $(ENCORE_LIB) $(COMMON_LIBS) $(EXTRA_LIB) $(MLIB_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(ARCH_LIB) $(I18NLIBS) $(MATH_LIB)
|
||||
endif
|
||||
|
||||
codecs.conf.h: $(PRG_CFG) etc/codecs.conf
|
||||
|
Loading…
Reference in New Issue
Block a user