From c03d838d052f52b0c24224fd48146e39cade7632 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Mon, 18 Apr 2022 19:16:36 -0400 Subject: [PATCH] Link the sdljoytest binaries to friendly names for compatibility with existing scripts. --- packages/games/tools/sdljoytest/package.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/games/tools/sdljoytest/package.mk b/packages/games/tools/sdljoytest/package.mk index 13504a03a..3a5dcc3ea 100644 --- a/packages/games/tools/sdljoytest/package.mk +++ b/packages/games/tools/sdljoytest/package.mk @@ -17,7 +17,9 @@ sed -i "s|gcc|${CC}|" Makefile } makeinstall_target() { -mkdir -p ${INSTALL}/usr/bin -cp -rf test_gamepad_SDL2 ${INSTALL}/usr/bin -cp -rf map_gamepad_SDL2 ${INSTALL}/usr/bin + mkdir -p ${INSTALL}/usr/bin + cp -rf test_gamepad_SDL2 ${INSTALL}/usr/bin + ln -s test_gamepad_SDL2 ${INSTALL}/usr/bin/sdljoytest + cp -rf map_gamepad_SDL2 ${INSTALL}/usr/bin + ln -s map_gamepad_SDL2 ${INSTALL}/usr/bin/sdljoymap }