diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/libsquish/libsquish/0001-makefile-Add-LIBDIR.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/libsquish/libsquish/0001-makefile-Add-LIBDIR.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/libsquish/libsquish/0001-makefile-Add-LIBDIR.patch b/meta-multimedia/recipes-multimedia/libsquish/libsquish/0001-makefile-Add-LIBDIR.patch new file mode 100644 index 0000000000..c6eb7ac576 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libsquish/libsquish/0001-makefile-Add-LIBDIR.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 4fd08c0446ca02917014b63f9080c4205958a130 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 20 Mar 2022 01:15:32 -0700 | ||
4 | Subject: [PATCH] makefile: Add LIBDIR | ||
5 | |||
6 | Avoid hardcoding /lib | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Makefile | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/Makefile b/Makefile | ||
15 | index 1c01f89..2b1df5b 100644 | ||
16 | --- a/Makefile | ||
17 | +++ b/Makefile | ||
18 | @@ -11,12 +11,12 @@ all : $(LIB) squish.pc | ||
19 | |||
20 | install : $(LIB) squish.pc | ||
21 | install squish.h $(INSTALL_DIR)/include | ||
22 | - install libsquish.a $(INSTALL_DIR)/lib | ||
23 | - install squish.pc $(INSTALL_DIR)/lib/pkgconfig | ||
24 | + install libsquish.a $(INSTALL_DIR)/$(LIBDIR) | ||
25 | + install squish.pc $(INSTALL_DIR)/$(LIBDIR)/pkgconfig | ||
26 | |||
27 | uninstall: | ||
28 | $(RM) $(INSTALL_DIR)/include/squish.h | ||
29 | - $(RM) $(INSTALL_DIR)/lib/libsquish.a | ||
30 | + $(RM) $(INSTALL_DIR)/$(LIBDIR)/libsquish.a | ||
31 | |||
32 | $(LIB) : $(OBJ) | ||
33 | $(AR) cr $@ $? | ||
34 | -- | ||
35 | 2.35.1 | ||
36 | |||