summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-08 10:29:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-08 10:29:57 +0000
commite0b33778e4b5269c2d47f5198c004cf93d5bf976 (patch)
tree11667735ffe3c897f55d488dc4053c345883c794
parentVersion bump #135452 by Wolfram Schlich. (diff)
downloadgentoo-2-e0b33778e4b5269c2d47f5198c004cf93d5bf976.tar.gz
gentoo-2-e0b33778e4b5269c2d47f5198c004cf93d5bf976.tar.bz2
gentoo-2-e0b33778e4b5269c2d47f5198c004cf93d5bf976.zip
generate shared lib with a SONAME
-rw-r--r--sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch b/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch
index d146b536f999..f7e216674f78 100644
--- a/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch
+++ b/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch
@@ -21,7 +21,7 @@
+ $(CC) $(CFLAGS) -fPIC -c -o $@ $^
+
+$(PCISHLIB): $(SHOBJS)
-+ $(CC) -shared $(CFLAGS) $(LDFLAGS) -o $@ $^ -fPIC
++ $(CC) -shared $(CFLAGS) -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ -fPIC
$(PCILIB): $(OBJS)
rm -f $@