diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-30 23:34:28 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-30 23:34:28 +0000 |
| commit | e00279e192cb2305688014e96ecbbbabce39e9fa (patch) | |
| tree | 54a39ab919d5f05768a3630a0b757f7eac568406 /configure | |
| parent | 3def3a0ff7d34e5c8f97a5c28d71e0735784f630 (diff) | |
| download | skalibs-e00279e192cb2305688014e96ecbbbabce39e9fa.tar.gz | |
Add --disable-rpath support, prepare for 2.15.0.0
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -38,6 +38,7 @@ Optional features: --disable-shared do not build shared libraries [enabled] --disable-static do not build static libraries [enabled] --disable-all-pic do not build static libraries as PIC [enabled] + --disable-rpath do not embed RPATH in libraries [enabled] --enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled] --enable-pkgconfig Build and install .pc files for pkg-config [disabled] @@ -403,6 +404,7 @@ shlibext=so shared=true static=true allpic=true +rpath=true slashpackage=false ipv6=true select=false @@ -443,6 +445,8 @@ for arg ; do --disable-static|--enable-static=no) static=false ;; --enable-all-pic|--enable-all-pic=yes) allpic=true ;; --disable-all-pic|--enable-all-pic=no) allpic=false ;; + --enable-rpath|--enable-rpath=yes) rpath=true ;; + --disable-rpath|--enable-rpath=no) rpath=false ;; --enable-pkgconfig|--enable-pkgconfig=yes) pcw=true ;; --disable-pkgconfig|--enable-pkgconfig=no) pcw=false ;; --enable-slashpackage=*) sproot=${arg#*=} ; slashpackage=true ; ;; @@ -795,6 +799,11 @@ if $shared ; then else echo "SHARED_LIBS :=" fi +if $rpath ; then + echo "LDFLAGS_RPATH := -Wl,-rpath=${dynlibdir}" +else + echo "LDFLAGS_RPATH :=" +fi if $pcw ; then echo "DO_PKGCONFIG := 1" else |
