X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2FMakefile;h=1eb06a566fc90d1d23564cdff14460571bdd61f6;hb=17c39b8a782f499eb755c8b3f6a820bce6c6dd8b;hp=31ca1c106ddc78149edd3ee2041846af4e5508a7;hpb=550d67d1ce6e71f6461efc71ca481655da8de763;p=pciutils.git diff --git a/lib/Makefile b/lib/Makefile index 31ca1c1..1eb06a5 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -3,7 +3,7 @@ # Expects to be invoked from the top-level Makefile and uses lots of its variables. -OBJS=init access generic dump names filter names-hash names-parse names-net names-cache params +OBJS=init access generic dump names filter names-hash names-parse names-net names-cache params caps INCL=internal.h pci.h config.h header.h sysdep.h types.h ifdef PCI_HAVE_PM_LINUX_SYSFS @@ -52,7 +52,7 @@ $(PCILIB): $(addsuffix .o,$(OBJS)) else CFLAGS += -fPIC -fvisibility=hidden $(PCILIB): $(addsuffix .o,$(OBJS)) - $(CC) -shared $(SONAME) -Wl,--version-script=libpci.ver -o $@ $^ $(LIB_LDLIBS) + $(CC) -shared $(LDFLAGS) $(SONAME) -Wl,--version-script=libpci.ver -o $@ $^ $(LIB_LDLIBS) endif $(PCILIBPC): libpci.pc.in