File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,13 @@ APP_ROMFS='$ROMFS'
156156
157157EOF
158158
159+ # source dependency version information
160+
161+ SCRIPT_DIR=" $( realpath " $( dirname -- " ${BASH_SOURCE[0]} " ) " ) "
162+
163+ # shellcheck source=./platforms/versions.sh
164+ source " $SCRIPT_DIR /versions.sh"
165+
159166# # build sdl2 and libraries (ttf, mixer, image)
160167
161168export SDL_TOP_BUILD_DIR=" SDL2_local_build_3ds"
@@ -171,13 +178,6 @@ echo "*" >.gitignore
171178
172179mkdir -p " $SDL_ROOT_DIR "
173180
174- # source dependency version information
175-
176- SCRIPT_DIR=" $( realpath " $( dirname -- " $0 " ) " ) "
177-
178- # shellcheck source=./platforms/versions.sh
179- source " $SCRIPT_DIR /versions.sh"
180-
181181# build sdl2
182182
183183export SDL2_SRC_DIR=" SDL2-${SDL_3DS_VERSION} "
Original file line number Diff line number Diff line change @@ -112,6 +112,13 @@ else
112112 exit 1
113113fi
114114
115+ # source dependency version information
116+
117+ SCRIPT_DIR=" $( realpath " $( dirname -- " ${BASH_SOURCE[0]} " ) " ) "
118+
119+ # shellcheck source=./platforms/versions.sh
120+ source " $SCRIPT_DIR /versions.sh"
121+
115122for INDEX in " ${ARCH_KEYS_INDEX[@]} " ; do
116123 export KEY=${ARCH_KEYS[$INDEX]}
117124
@@ -182,13 +189,6 @@ for INDEX in "${ARCH_KEYS_INDEX[@]}"; do
182189 export LLVM_CONFIG=" llvm-config"
183190 unset PKG_CONFIG
184191
185- # source dependency version information
186-
187- SCRIPT_DIR=" $( realpath " $( dirname -- " $0 " ) " ) "
188-
189- # shellcheck source=./platforms/versions.sh
190- source " $SCRIPT_DIR /versions.sh"
191-
192192 # # BUILD dependencies not buildable with meson (to complicated to port)
193193
194194 # # build mpg123 with cmake (meson port is to much work atm, for this feature)
You can’t perform that action at this time.
0 commit comments