diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-08 10:29:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-08 10:29:57 +0000 |
commit | 99f6456128fba06df78435977904ac75cccae317 (patch) | |
tree | 5fe11164c32cac64cbee54815f02829c7e12a1c1 /sys-apps/pciutils/files | |
parent | Version bump #135452 by Wolfram Schlich. (diff) | |
download | historical-99f6456128fba06df78435977904ac75cccae317.tar.gz historical-99f6456128fba06df78435977904ac75cccae317.tar.bz2 historical-99f6456128fba06df78435977904ac75cccae317.zip |
generate shared lib with a SONAME
Diffstat (limited to 'sys-apps/pciutils/files')
-rw-r--r-- | sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch | 2 |
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 $@ |