File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -172,14 +172,7 @@ _common_configure_args+=(--enable-loadable-sqlite-extensions)
172172_common_configure_args+=(--with-tcltk-includes=" -I${PREFIX} /include" )
173173_common_configure_args+=(" --with-tcltk-libs=-L${PREFIX} /lib -ltcl8.6 -ltk8.6" )
174174
175- mkdir -p ${_buildd_shared}
176- pushd ${_buildd_shared}
177- ${SRC_DIR} /configure " ${_common_configure_args[@]} " \
178- " ${_dbg_opts[@]} " \
179- --enable-shared
180- popd
181-
182- # Add more optimization flags for the static Python interpreter:
175+ # Add more optimization flags
183176declare -a _extra_opts
184177if [[ ${_OPTIMIZED} == yes ]]; then
185178 _extra_opts+=(--enable-optimizations)
@@ -205,6 +198,15 @@ else
205198 _MAKE_TARGET=
206199fi
207200
201+
202+ mkdir -p ${_buildd_shared}
203+ pushd ${_buildd_shared}
204+ ${SRC_DIR} /configure " ${_common_configure_args[@]} " \
205+ " ${_extra_opts[@]} " \
206+ " ${_dbg_opts[@]} " \
207+ --enable-shared
208+ popd
209+
208210mkdir -p ${_buildd_static}
209211pushd ${_buildd_static}
210212 ${SRC_DIR} /configure " ${_common_configure_args[@]} " \
You can’t perform that action at this time.
0 commit comments