[Lunar-commits] <moonbase> pciutils: We should be using shared libs IMO.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Sun Jun 22 19:35:34 CEST 2008


commit a57a2a330c6ea4ab2d97ff33f86b6558c9219d63
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Sun Jun 22 13:35:34 2008 -0400

    pciutils: We should be using shared libs IMO.
    
    Otherwise kdebase4-4.0.81 build craps out trying to fPIC
    libpci.a when it should have libpci.so.
    
    Yes I am working on moving kde over to 81 or newer.
---
 utils/pciutils/BUILD |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/utils/pciutils/BUILD b/utils/pciutils/BUILD
index 4ead581..ac12021 100644
--- a/utils/pciutils/BUILD
+++ b/utils/pciutils/BUILD
@@ -1,10 +1,12 @@
 (
 
   sedit 's/PREFIX=\/usr\/local/PREFIX=\/usr/' Makefile &&
+  sedit "s:SHARED=no:SHARED=yes:" Makefile &&
+  
   default_make &&
+
   mkdir -p /usr/include/pci/ &&
   install lib/{pci,header,types,config}.h /usr/include/pci/ &&
-  install lib/libpci.a /usr/lib/libpci.a &&
   bunzip2 $SOURCE_CACHE/$SOURCE2 -c > pci.ids &&
   install -m644 pci.ids /usr/share &&
 


More information about the Lunar-commits mailing list