| 1 | Disable runtime check for Darwin so we don't have to substitute uname. |
| 2 | |
| 3 | |
| 4 | |
| 5 | unset FULLPATH |
| 6 | fi |
| 7 | |
| 8 | -#use "FLAT_NAMESPACE" on Darwin in attempt to match LD_PRELOAD behavior |
| 9 | -if test x`uname` = xDarwin; then |
| 10 | - export DYLD_FORCE_FLAT_NAMESPACE=t |
| 11 | -fi |
| 12 | - |
| 13 | #dlib/Makefile.am libtool flags should produce a predictable library name |
| 14 | #(ending in SOLIB_POSTFIX). |
| 15 | LIBRARY="${SOCKS_LIBRARY:-${FULLPATH}libdsocks.@SOLIB_POSTFIX@}" |