aboutsummaryrefslogtreecommitdiffstats
path: root/tools/configure.template
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-26 19:13:12 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-26 19:13:12 +0000
commit5d4ed0f6abc41b7907bc762a43498e67545923f4 (patch)
tree60593c4e33ea0eb698fa9035279e184858757358 /tools/configure.template
parent35455ce407b20a40d58f48b1d1ad61cd1be6241a (diff)
downloadutmps-5d4ed0f6abc41b7907bc762a43498e67545923f4.tar.gz
Support shlibs on MacOS
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools/configure.template')
-rwxr-xr-xtools/configure.template6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/configure.template b/tools/configure.template
index 20c8516..db8f59a 100755
--- a/tools/configure.template
+++ b/tools/configure.template
@@ -193,9 +193,9 @@ for arg ; do
--disable-shared|--enable-shared=no) shared=false ;;
--enable-static|--enable-static=yes) static=true ;;
--disable-static|--enable-static=no) static=false ;;
- --enable-allstatic|--enable-allstatic=yes) allstatic=true ;;
- --disable-allstatic|--enable-allstatic=no) allstatic=false ; evenmorestatic=false ;;
- --enable-static-libc|--enable-static-libc=yes) allstatic=true ; evenmorestatic=true ;;
+ --enable-allstatic|--enable-allstatic=yes) static=true ; allstatic=true ;;
+ --disable-allstatic|--enable-allstatic=no) allstatic=false ; evenmorestatic=false ; shared=true ;;
+ --enable-static-libc|--enable-static-libc=yes) static=true ; allstatic=true ; evenmorestatic=true ;;
--disable-static-libc|--enable-static-libc=no) evenmorestatic=false ;;
--enable-all-pic|--enable-all-pic=yes) allpic=true ;;
--disable-all-pic|--enable-all-pic=no) allpic=false ;;