>> I didn't mean the dynamic linker at runtime but rather the linker
>> used during compilation, which also hardcodes the paths to the
>> DLLs.
> 
> The paths are not hardcoded, unless you use -rpath.

Well, libtool seems to use `-rpath'...

> The default search
> paths for gcc, at least, on my Debian system are:
> 
>     ldo@theon:~> gcc -Wl,--dll-verbose
>     ...
>     using internal linker script:
>     ...
>     SEARCH_DIR("=/usr/local/lib/x86_64-linux-gnu");
>     SEARCH_DIR("=/lib/x86_64-linux-gnu");
>     SEARCH_DIR("=/usr/lib/x86_64-linux-gnu");
>     SEARCH_DIR("=/usr/local/lib64");
>     SEARCH_DIR("=/lib64");
>     SEARCH_DIR("=/usr/lib64");
>     SEARCH_DIR("=/usr/local/lib");
>     SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
>     SEARCH_DIR("=/usr/x86_64-linux-gnu/lib64");
>     SEARCH_DIR("=/usr/x86_x86_64-linux-gnu/lib");

Not for me on my openSuSE Leap 42.2 box.  Here I get

  SEARCH_DIR("/usr/x86_64-suse-linux/lib64");
  SEARCH_DIR("/usr/lib64");
  SEARCH_DIR("/usr/local/lib64");
  SEARCH_DIR("/lib64");
  SEARCH_DIR("/usr/x86_64-suse-linux/lib");
  SEARCH_DIR("/usr/local/lib");
  SEARCH_DIR("/lib");
  SEARCH_DIR("/usr/lib");


    Werner

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to