aboutsummaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-05-29 14:02:04 +0000
committerNick Clifton <nickc@redhat.com>2003-05-29 14:02:04 +0000
commit14afd35266d4b10a4ba27fb411a8751d36cc9e7c (patch)
treed5fa80f6f7af3a2874133da9be4d73b6862b6fd6 /ltconfig
parent87cde7d6003067be9680ca18b0dcc240e510f5e3 (diff)
downloadnewlib-14afd35266d4b10a4ba27fb411a8751d36cc9e7c.zip
newlib-14afd35266d4b10a4ba27fb411a8751d36cc9e7c.tar.gz
newlib-14afd35266d4b10a4ba27fb411a8751d36cc9e7c.tar.bz2
Import patch to add FreeBSD support.
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/ltconfig b/ltconfig
index 7a4d635..f49a2cf 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1111,6 +1111,18 @@ darwin* | rhapsody*)
shlibpath_var=DYLD_LIBRARY_PATH
;;
+freebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
+ soname_spec='${libname}${release}.so${major}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU/FreeBSD ld.so'
+ ;;
+
freebsd1*)
dynamic_linker=no
;;