File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,8 @@ os_based_configure_options() {
274274 else
275275 local jpeg_path=$( locate libjpeg.so | awk ' { print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1)
276276 local libpng_path=$( locate libpng.so | awk ' { print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1)
277+ local libgmp_path=$( locate libgmp.so | awk ' { print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1)
278+ local libsodium_path=$( locate libsodium.so | awk ' { print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1)
277279 configure_options=" --with-openssl --with-curl --with-zlib --with-readline --with-gettext --with-xsl"
278280
279281 if [ -n " $jpeg_path " ]; then
@@ -283,6 +285,14 @@ os_based_configure_options() {
283285 if [ -n " $libpng_path " ]; then
284286 configure_options=" $configure_options --with-png-dir=$libpng_path --with-png"
285287 fi
288+
289+ if [ -n " $libgmp_path " ]; then
290+ configure_options=" $configure_options --with-gmp"
291+ fi
292+
293+ if [ -n " $libsodium_path " ]; then
294+ configure_options=" $configure_options --with-sodium"
295+ fi
286296 fi
287297
288298 echo $configure_options
You can’t perform that action at this time.
0 commit comments