Install into $(libdir) instead of $(pkglibdir)

We don't need $(pkglibdir) anymore, since the libraries themselves
have a "nix" prefix now.
This commit is contained in:
Eelco Dolstra 2013-11-23 23:56:23 +00:00
parent 2bd0fcc966
commit c7547cff19

View file

@ -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