Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libpfm / fix-windows.patch
blob584b9ba6eb8166df856d3465f0a3c6314d7faa1e
1 diff --git a/lib/Makefile b/lib/Makefile
2 index 5ca71e3..cd0717f 100644
3 --- a/lib/Makefile
4 +++ b/lib/Makefile
5 @@ -428,11 +428,13 @@ install:
6 -mkdir -p $(DESTDIR)$(LIBDIR)
7 $(INSTALL) -m 644 $(ALIBPFM) $(DESTDIR)$(LIBDIR)
8 ifeq ($(CONFIG_PFMLIB_SHARED),y)
9 +ifeq ($(SYS),Linux)
10 $(INSTALL) $(SLIBPFM) $(DESTDIR)$(LIBDIR)
11 cd $(DESTDIR)$(LIBDIR); $(LN) $(SLIBPFM) $(VLIBPFM)
12 cd $(DESTDIR)$(LIBDIR); $(LN) $(SLIBPFM) libpfm.$(SOLIBEXT)
13 -$(LDCONFIG)
14 endif
15 +endif
17 tags:
18 $(CTAGS) -o $(TOPDIR)/tags --tag-relative=yes $(SRCS) $(INCDEP)