about summary refs log tree commit diff
path: root/Makefile.lib
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.lib')
-rw-r--r--Makefile.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.lib b/Makefile.lib
index 38370c2fec1f..b9114a07c0b1 100644
--- a/Makefile.lib
+++ b/Makefile.lib
@@ -73,7 +73,7 @@ define LIBS_template =
 
     $(1)_LDFLAGS_USE += -L$$(_d) -Wl,-rpath,$$(abspath $$(_d)) -l$$(patsubst lib%,%,$$(strip $$($(1)_NAME)))
 
-    $(1)_INSTALL_DIR := $$(pkglibdir)
+    $(1)_INSTALL_DIR := $$(libdir)
 
     $(1)_INSTALL_PATH := $$($(1)_INSTALL_DIR)/$$($(1)_NAME).so
 
@@ -94,7 +94,7 @@ define LIBS_template =
 
     $(1)_LDFLAGS_USE += $$($(1)_PATH) $$($(1)_LDFLAGS)
 
-    $(1)_INSTALL_PATH := $$(pkglibdir)/$$($(1)_NAME).a
+    $(1)_INSTALL_PATH := $$(libdir)/$$($(1)_NAME).a
 
   endif