diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-26 19:13:10 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-26 19:13:10 +0000 |
| commit | 2c709233b72ced18e8733a9a5598bfaa25ca76e1 (patch) | |
| tree | 95f2e53a7758e6e65947a46d668d2f30b8d19e6f | |
| parent | ceaae4f5513d1ba72952047807f172b53bf723ee (diff) | |
| download | nsss-2c709233b72ced18e8733a9a5598bfaa25ca76e1.tar.gz | |
Support shlibs on MacOS
Signed-off-by: Laurent Bercot <ska@appnovation.com>
| -rw-r--r-- | README.macos | 3 | ||||
| -rwxr-xr-x | configure | 6 | ||||
| -rwxr-xr-x | tools/configure.template | 6 |
3 files changed, 6 insertions, 9 deletions
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. @@ -196,9 +196,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 ;; |
