aboutsummaryrefslogtreecommitdiff
path: root/devel/libpci/files/patch-lib::Makefile
blob: 5496c4b59d1bae4081233df9a9c6319506c58602 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- lib/Makefile.orig	2009-07-04 13:11:04.000000000 -0300
+++ lib/Makefile	2010-03-08 19:39:24.000000000 -0300
@@ -49,6 +49,7 @@
 	rm -f $@
 	$(AR) rcs $@ $^
 	$(RANLIB) $@
+	$(CC) $(CFLAGS) -shared $^ -o libpci.so
 else
 CFLAGS += -fPIC -fvisibility=hidden
 $(PCILIB): $(addsuffix .o,$(OBJS))