From 5d4ed0f6abc41b7907bc762a43498e67545923f4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 26 May 2025 19:13:12 +0000 Subject: Support shlibs on MacOS Signed-off-by: Laurent Bercot --- README.macos | 3 --- configure | 6 +++--- tools/configure.template | 6 +++--- 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 README.macos diff --git a/README.macos b/README.macos deleted file mode 100644 index 64e0742..0000000 --- a/README.macos +++ /dev/null @@ -1,3 +0,0 @@ - This package will compile and run on Darwin (MacOS X), but the building of -shared libraries is not supported. - Make sure you use the --disable-shared option to configure. diff --git a/configure b/configure index e19483d..b871bfb 100755 --- a/configure +++ b/configure @@ -203,9 +203,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 ;; 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 ;; -- cgit v1.3.1