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