1#! /bin/sh 2# 3# Output a system dependent set of variables, describing how to set the 4# run time search path of shared libraries in an executable. 5# 6# Copyright 1996-2011 Free Software Foundation, Inc. 7# Taken from GNU libtool, 2001 8# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 9# 10# This file is free software; the Free Software Foundation gives 11# unlimited permission to copy and/or distribute it, with or without 12# modifications, as long as this notice is preserved. 13# 14# The first argument passed to this file is the canonical host specification, 15# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 16# or 17# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 18# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld 19# should be set by the caller. 20# 21# The set of defined variables is at the end of this script. 22 23# Known limitations: 24# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer 25# than 256 bytes, otherwise the compiler driver will dump core. The only 26# known workaround is to choose shorter directory names for the build 27# directory and/or the installation directory. 28 29# All known linkers require a `.a' archive for static linking (except MSVC, 30# which needs '.lib'). 31libext=a 32shrext=.so 33 34host="$1" 35host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 36host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 37host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 38 39# Code taken from libtool.m4's _LT_CC_BASENAME. 40 41for cc_temp in $CC""; do 42 case $cc_temp in 43 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 44 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 45 \-*) ;; 46 *) break;; 47 esac 48done 49cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` 50 51# Code taken from libtool.m4's _LT_COMPILER_PIC. 52 53wl= 54if test "$GCC" = yes; then 55 wl='-Wl,' 56else 57 case "$host_os" in 58 aix*) 59 wl='-Wl,' 60 ;; 61 mingw* | cygwin* | pw32* | os2* | cegcc*) 62 ;; 63 hpux9* | hpux10* | hpux11*) 64 wl='-Wl,' 65 ;; 66 irix5* | irix6* | nonstopux*) 67 wl='-Wl,' 68 ;; 69 linux* | k*bsd*-gnu | kopensolaris*-gnu) 70 case $cc_basename in 71 ecc*) 72 wl='-Wl,' 73 ;; 74 icc* | ifort*) 75 wl='-Wl,' 76 ;; 77 lf95*) 78 wl='-Wl,' 79 ;; 80 nagfor*) 81 wl='-Wl,-Wl,,' 82 ;; 83 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 84 wl='-Wl,' 85 ;; 86 ccc*) 87 wl='-Wl,' 88 ;; 89 xl* | bgxl* | bgf* | mpixl* | *bgq-linux-xl* ) 90 wl='-Wl,' 91 ;; 92 como) 93 wl='-lopt=' 94 ;; 95 *) 96 case `$CC -V 2>&1 | sed 5q` in 97 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-4]]*) 98 wl= 99 ;; 100 *Sun\ F* | *Sun*Fortran* | *Studio*Fortran*) 101 wl='-Qoption ld ' 102 ;; 103 *Sun\ C*) 104 wl='-Wl,' 105 ;; 106 esac 107 ;; 108 esac 109 ;; 110 newsos6) 111 ;; 112 *nto* | *qnx*) 113 ;; 114 osf3* | osf4* | osf5*) 115 wl='-Wl,' 116 ;; 117 rdos*) 118 ;; 119 solaris*) 120 case $cc_basename in 121 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 122 wl='-Qoption ld ' 123 ;; 124 *) 125 wl='-Wl,' 126 ;; 127 esac 128 ;; 129 sunos4*) 130 wl='-Qoption ld ' 131 ;; 132 sysv4 | sysv4.2uw2* | sysv4.3*) 133 wl='-Wl,' 134 ;; 135 sysv4*MP*) 136 ;; 137 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 138 wl='-Wl,' 139 ;; 140 unicos*) 141 wl='-Wl,' 142 ;; 143 uts4*) 144 ;; 145 esac 146fi 147 148# Code taken from libtool.m4's _LT_LINKER_SHLIBS. 149 150hardcode_libdir_flag_spec= 151hardcode_libdir_separator= 152hardcode_direct=no 153hardcode_minus_L=no 154enable_dtags_flag= 155disable_dtags_flag= 156 157case "$host_os" in 158 cygwin* | mingw* | pw32* | cegcc*) 159 # FIXME: the MSVC++ port hasn't been tested in a loooong time 160 # When not using gcc, we currently assume that we are using 161 # Microsoft Visual C++. 162 if test "$GCC" != yes; then 163 with_gnu_ld=no 164 fi 165 ;; 166 interix*) 167 # we just hope/assume this is gcc and not c89 (= MSVC++) 168 with_gnu_ld=yes 169 ;; 170 openbsd*) 171 with_gnu_ld=no 172 ;; 173esac 174 175ld_shlibs=yes 176if test "$with_gnu_ld" = yes; then 177 # Set some defaults for GNU ld with shared library support. These 178 # are reset later if shared libraries are not supported. Putting them 179 # here allows them to be overridden if necessary. 180 # Unlike libtool, we use -rpath here, not --rpath, since the documented 181 # option of GNU ld is called -rpath, not --rpath. 182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 183 case "$host_os" in 184 aix[3-9]*) 185 # On AIX/PPC, the GNU linker is very broken 186 if test "$host_cpu" != ia64; then 187 ld_shlibs=no 188 fi 189 ;; 190 amigaos*) 191 case "$host_cpu" in 192 powerpc) 193 ;; 194 m68k) 195 hardcode_libdir_flag_spec='-L$libdir' 196 hardcode_minus_L=yes 197 ;; 198 esac 199 ;; 200 beos*) 201 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 202 : 203 else 204 ld_shlibs=no 205 fi 206 ;; 207 cygwin* | mingw* | pw32* | cegcc*) 208 # hardcode_libdir_flag_spec is actually meaningless, as there is 209 # no search path for DLLs. 210 hardcode_libdir_flag_spec='-L$libdir' 211 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 212 : 213 else 214 ld_shlibs=no 215 fi 216 ;; 217 haiku*) 218 ;; 219 interix[3-9]*) 220 hardcode_direct=no 221 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 222 ;; 223 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 224 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 225 # use --enable-new-dtags for RUNPATH support, which is required for 226 # switching between ABI compatible libraries at runtime. 227 if test "$GCC" = yes; then 228 enable_dtags_flag="${wl}--enable-new-dtags" 229 disable_dtags_flag="${wl}--disable-new-dtags" 230 else 231 case $cc_basename in ifort*) 232 enable_dtags_flag="${wl}--enable-new-dtags" 233 disable_dtags_flag="${wl}--disable-new-dtags" 234 ;; 235 esac 236 fi 237 else 238 ld_shlibs=no 239 fi 240 ;; 241 netbsd*) 242 ;; 243 solaris*) 244 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 245 ld_shlibs=no 246 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 247 : 248 else 249 ld_shlibs=no 250 fi 251 ;; 252 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 253 case `$LD -v 2>&1` in 254 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 255 ld_shlibs=no 256 ;; 257 *) 258 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 259 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 260 else 261 ld_shlibs=no 262 fi 263 ;; 264 esac 265 ;; 266 sunos4*) 267 hardcode_direct=yes 268 ;; 269 *) 270 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 271 : 272 else 273 ld_shlibs=no 274 fi 275 ;; 276 esac 277 if test "$ld_shlibs" = no; then 278 hardcode_libdir_flag_spec= 279 fi 280else 281 case "$host_os" in 282 aix3*) 283 # Note: this linker hardcodes the directories in LIBPATH if there 284 # are no directories specified by -L. 285 hardcode_minus_L=yes 286 if test "$GCC" = yes; then 287 # Neither direct hardcoding nor static linking is supported with a 288 # broken collect2. 289 hardcode_direct=unsupported 290 fi 291 ;; 292 aix[4-9]*) 293 if test "$host_cpu" = ia64; then 294 # On IA64, the linker does run time linking by default, so we don't 295 # have to do anything special. 296 aix_use_runtimelinking=no 297 else 298 aix_use_runtimelinking=no 299 # Test if we are trying to use run time linking or normal 300 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 301 # need to do runtime linking. 302 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 303 for ld_flag in $LDFLAGS; do 304 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 305 aix_use_runtimelinking=yes 306 break 307 fi 308 done 309 ;; 310 esac 311 fi 312 hardcode_direct=yes 313 hardcode_libdir_separator=':' 314 if test "$GCC" = yes; then 315 case $host_os in aix4.[012]|aix4.[012].*) 316 collect2name=`${CC} -print-prog-name=collect2` 317 if test -f "$collect2name" && \ 318 strings "$collect2name" | grep resolve_lib_name >/dev/null 319 then 320 # We have reworked collect2 321 : 322 else 323 # We have old collect2 324 hardcode_direct=unsupported 325 hardcode_minus_L=yes 326 hardcode_libdir_flag_spec='-L$libdir' 327 hardcode_libdir_separator= 328 fi 329 ;; 330 esac 331 fi 332 # Begin _LT_AC_SYS_LIBPATH_AIX. 333 echo 'int main () { return 0; }' > conftest.c 334 ${CC} ${LDFLAGS} conftest.c -o conftest 335 aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 336}'` 337 if test -z "$aix_libpath"; then 338 aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } 339}'` 340 fi 341 if test -z "$aix_libpath"; then 342 aix_libpath="/usr/lib:/lib" 343 fi 344 rm -f conftest.c conftest 345 # End _LT_AC_SYS_LIBPATH_AIX. 346 if test "$aix_use_runtimelinking" = yes; then 347 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 348 else 349 if test "$host_cpu" = ia64; then 350 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 351 else 352 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 353 fi 354 fi 355 ;; 356 amigaos*) 357 case "$host_cpu" in 358 powerpc) 359 ;; 360 m68k) 361 hardcode_libdir_flag_spec='-L$libdir' 362 hardcode_minus_L=yes 363 ;; 364 esac 365 ;; 366 bsdi[45]*) 367 ;; 368 cygwin* | mingw* | pw32* | cegcc*) 369 # When not using gcc, we currently assume that we are using 370 # Microsoft Visual C++. 371 # hardcode_libdir_flag_spec is actually meaningless, as there is 372 # no search path for DLLs. 373 hardcode_libdir_flag_spec=' ' 374 libext=lib 375 ;; 376 darwin* | rhapsody*) 377 hardcode_direct=no 378 if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then 379 : 380 else 381 ld_shlibs=no 382 fi 383 ;; 384 dgux*) 385 hardcode_libdir_flag_spec='-L$libdir' 386 ;; 387 freebsd2.2*) 388 hardcode_libdir_flag_spec='-R$libdir' 389 hardcode_direct=yes 390 ;; 391 freebsd2*) 392 hardcode_direct=yes 393 hardcode_minus_L=yes 394 ;; 395 freebsd* | dragonfly*) 396 hardcode_libdir_flag_spec='-R$libdir' 397 hardcode_direct=yes 398 ;; 399 hpux9*) 400 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 401 hardcode_libdir_separator=: 402 hardcode_direct=yes 403 # hardcode_minus_L: Not really in the search PATH, 404 # but as the default location of the library. 405 hardcode_minus_L=yes 406 ;; 407 hpux10*) 408 if test "$with_gnu_ld" = no; then 409 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 410 hardcode_libdir_separator=: 411 hardcode_direct=yes 412 # hardcode_minus_L: Not really in the search PATH, 413 # but as the default location of the library. 414 hardcode_minus_L=yes 415 fi 416 ;; 417 hpux11*) 418 if test "$with_gnu_ld" = no; then 419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 420 hardcode_libdir_separator=: 421 case $host_cpu in 422 hppa*64*|ia64*) 423 hardcode_direct=no 424 ;; 425 *) 426 hardcode_direct=yes 427 # hardcode_minus_L: Not really in the search PATH, 428 # but as the default location of the library. 429 hardcode_minus_L=yes 430 ;; 431 esac 432 fi 433 ;; 434 irix5* | irix6* | nonstopux*) 435 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 436 hardcode_libdir_separator=: 437 ;; 438 netbsd*) 439 hardcode_libdir_flag_spec='-R$libdir' 440 hardcode_direct=yes 441 ;; 442 newsos6) 443 hardcode_direct=yes 444 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 445 hardcode_libdir_separator=: 446 ;; 447 *nto* | *qnx*) 448 ;; 449 openbsd*) 450 if test -f /usr/libexec/ld.so; then 451 hardcode_direct=yes 452 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 453 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 454 else 455 case "$host_os" in 456 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 457 hardcode_libdir_flag_spec='-R$libdir' 458 ;; 459 *) 460 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 461 ;; 462 esac 463 fi 464 else 465 ld_shlibs=no 466 fi 467 ;; 468 os2*) 469 hardcode_libdir_flag_spec='-L$libdir' 470 hardcode_minus_L=yes 471 ;; 472 osf3*) 473 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 474 hardcode_libdir_separator=: 475 ;; 476 osf4* | osf5*) 477 if test "$GCC" = yes; then 478 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 479 else 480 # Both cc and cxx compiler support -rpath directly 481 hardcode_libdir_flag_spec='-rpath $libdir' 482 fi 483 hardcode_libdir_separator=: 484 ;; 485 solaris*) 486 hardcode_libdir_flag_spec='-R$libdir' 487 ;; 488 sunos4*) 489 hardcode_libdir_flag_spec='-L$libdir' 490 hardcode_direct=yes 491 hardcode_minus_L=yes 492 ;; 493 sysv4) 494 case $host_vendor in 495 sni) 496 hardcode_direct=yes # is this really true??? 497 ;; 498 siemens) 499 hardcode_direct=no 500 ;; 501 motorola) 502 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 503 ;; 504 esac 505 ;; 506 sysv4.3*) 507 ;; 508 sysv4*MP*) 509 if test -d /usr/nec; then 510 ld_shlibs=yes 511 fi 512 ;; 513 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 514 ;; 515 sysv5* | sco3.2v5* | sco5v6*) 516 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 517 hardcode_libdir_separator=':' 518 ;; 519 uts4*) 520 hardcode_libdir_flag_spec='-L$libdir' 521 ;; 522 *) 523 ld_shlibs=no 524 ;; 525 esac 526fi 527 528# Check dynamic linker characteristics 529# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. 530# Unlike libtool.m4, here we don't care about _all_ names of the library, but 531# only about the one the linker finds when passed -lNAME. This is the last 532# element of library_names_spec in libtool.m4, or possibly two of them if the 533# linker has special search rules. 534library_names_spec= # the last element of library_names_spec in libtool.m4 535libname_spec='lib$name' 536case "$host_os" in 537 aix3*) 538 library_names_spec='$libname.a' 539 ;; 540 aix[4-9]*) 541 library_names_spec='$libname$shrext' 542 ;; 543 amigaos*) 544 case "$host_cpu" in 545 powerpc*) 546 library_names_spec='$libname$shrext' ;; 547 m68k) 548 library_names_spec='$libname.a' ;; 549 esac 550 ;; 551 beos*) 552 library_names_spec='$libname$shrext' 553 ;; 554 bsdi[45]*) 555 library_names_spec='$libname$shrext' 556 ;; 557 cygwin* | mingw* | pw32* | cegcc*) 558 shrext=.dll 559 library_names_spec='$libname.dll.a $libname.lib' 560 ;; 561 darwin* | rhapsody*) 562 shrext=.dylib 563 library_names_spec='$libname$shrext' 564 ;; 565 dgux*) 566 library_names_spec='$libname$shrext' 567 ;; 568 freebsd* | dragonfly*) 569 case "$host_os" in 570 freebsd[123]*) 571 library_names_spec='$libname$shrext$versuffix' ;; 572 *) 573 library_names_spec='$libname$shrext' ;; 574 esac 575 ;; 576 gnu*) 577 library_names_spec='$libname$shrext' 578 ;; 579 haiku*) 580 library_names_spec='$libname$shrext' 581 ;; 582 hpux9* | hpux10* | hpux11*) 583 case $host_cpu in 584 ia64*) 585 shrext=.so 586 ;; 587 hppa*64*) 588 shrext=.sl 589 ;; 590 *) 591 shrext=.sl 592 ;; 593 esac 594 library_names_spec='$libname$shrext' 595 ;; 596 interix[3-9]*) 597 library_names_spec='$libname$shrext' 598 ;; 599 irix5* | irix6* | nonstopux*) 600 library_names_spec='$libname$shrext' 601 case "$host_os" in 602 irix5* | nonstopux*) 603 libsuff= shlibsuff= 604 ;; 605 *) 606 case $LD in 607 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; 608 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; 609 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; 610 *) libsuff= shlibsuff= ;; 611 esac 612 ;; 613 esac 614 ;; 615 linux*oldld* | linux*aout* | linux*coff*) 616 ;; 617 linux* | k*bsd*-gnu | kopensolaris*-gnu) 618 library_names_spec='$libname$shrext' 619 ;; 620 knetbsd*-gnu) 621 library_names_spec='$libname$shrext' 622 ;; 623 netbsd*) 624 library_names_spec='$libname$shrext' 625 ;; 626 newsos6) 627 library_names_spec='$libname$shrext' 628 ;; 629 *nto* | *qnx*) 630 library_names_spec='$libname$shrext' 631 ;; 632 openbsd*) 633 library_names_spec='$libname$shrext$versuffix' 634 ;; 635 os2*) 636 libname_spec='$name' 637 shrext=.dll 638 library_names_spec='$libname.a' 639 ;; 640 osf3* | osf4* | osf5*) 641 library_names_spec='$libname$shrext' 642 ;; 643 rdos*) 644 ;; 645 solaris*) 646 library_names_spec='$libname$shrext' 647 ;; 648 sunos4*) 649 library_names_spec='$libname$shrext$versuffix' 650 ;; 651 sysv4 | sysv4.3*) 652 library_names_spec='$libname$shrext' 653 ;; 654 sysv4*MP*) 655 library_names_spec='$libname$shrext' 656 ;; 657 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 658 library_names_spec='$libname$shrext' 659 ;; 660 tpf*) 661 library_names_spec='$libname$shrext' 662 ;; 663 uts4*) 664 library_names_spec='$libname$shrext' 665 ;; 666esac 667 668sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 669escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` 670shlibext=`echo "$shrext" | sed -e 's,^\.,,'` 671escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 672escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 673escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 674 675# MPICH modification: we don't prefix with acl_cv_ by default. This 676# is causing problems in the stock version of config.rpath as well. 677# LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF 678LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/\1=/' <<EOF 679 680# How to pass a linker flag through the compiler. 681wl="$escaped_wl" 682 683# Static library suffix (normally "a"). 684libext="$libext" 685 686# Shared library suffix (normally "so"). 687shlibext="$shlibext" 688 689# Format of library name prefix. 690libname_spec="$escaped_libname_spec" 691 692# Library names that the linker finds when passed -lNAME. 693library_names_spec="$escaped_library_names_spec" 694 695# Flag to hardcode \$libdir into a binary during linking. 696# This must work even if \$libdir does not exist. 697hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" 698 699# Flag to add dtags to allow using runpath instead of rpath 700enable_dtags_flag="$enable_dtags_flag" 701disable_dtags_flag="$disable_dtags_flag" 702 703# Whether we need a single -rpath flag with a separated argument. 704hardcode_libdir_separator="$hardcode_libdir_separator" 705 706# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the 707# resulting binary. 708hardcode_direct="$hardcode_direct" 709 710# Set to yes if using the -LDIR flag during linking hardcodes DIR into the 711# resulting binary. 712hardcode_minus_L="$hardcode_minus_L" 713 714EOF 715