summaryrefslogtreecommitdiff
path: root/data/libresolv
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-09-14 22:20:45 +0000
committerJay Freeman <saurik@saurik.com>2008-09-14 22:20:45 +0000
commite77aa94fcbae548d219b59fa5c08e2f73c6ddc0b (patch)
tree84147bd37387329a57580c812da343775980e53f /data/libresolv
parentbb9b37312a2d05450baf42f62bdb6c25a2734cd7 (diff)
Design libresolv to replace Apple's copy.
git-svn-id: http://svn.telesphoreo.org/trunk@471 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/libresolv')
-rw-r--r--data/libresolv/_metadata/priority2
-rw-r--r--data/libresolv/make.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/data/libresolv/_metadata/priority b/data/libresolv/_metadata/priority
index ea5b3d7ee..1c96b78c1 100644
--- a/data/libresolv/_metadata/priority
+++ b/data/libresolv/_metadata/priority
@@ -1 +1 @@
-important
++important
diff --git a/data/libresolv/make.sh b/data/libresolv/make.sh
index 0fe11cc2e..26b76422c 100644
--- a/data/libresolv/make.sh
+++ b/data/libresolv/make.sh
@@ -3,6 +3,7 @@ cp -a "${PKG_DATA}"/*.[ch] .
declare -a flags
# XXX: don't use this on darwin8
flags[${#flags[@]}]=-DNEED_PSELECT
-"${PKG_TARG}-gcc" -fno-common !(dns_async).c -o libresolv.dylib -dynamiclib -I. -linfo -install_name /usr/lib/libresolv.dylib "${flags[@]}" -save-temps
+"${PKG_TARG}-gcc" -fno-common !(dns_async).c -o libresolv.9.dylib -dynamiclib -I. -linfo -install_name /usr/lib/libresolv.9.dylib -compatibility_version 1.0.0 "${flags[@]}" -save-temps
pkg: mkdir -p /usr/lib
-pkg: cp -a libresolv.dylib /usr/lib
+pkg: cp -a libresolv.9.dylib /usr/lib
+pkg: ln -s libresolv.9.dylib /usr/lib/libresolv.dylib