diff options
Diffstat (limited to 'emulators/xmame')
-rw-r--r-- | emulators/xmame/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 50e8550ee39e..3597c7b7d3a0 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -294,6 +294,10 @@ do-configure: .endfor ${LN} -s ${WRKSRC}/src/png.h ${WRKSRC}/src/mame_png.h +.if ${MAMEMESS} == "mess" + ${REINPLACE_CMD} -e "s@-Wl,--allow-multiple-definition@-Wl,-z -Wl,muldefs@" ${WRKSRC}/makefile.mes +.endif + post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SDL_VIDEODRIVER=aalib \ ${GMAKE} doc/x${MAMEMESS}.6 |