Use libdir from the ebuild
Instead of overriding with our own, let's use the libdir passed down from the ebuild. BUG=none TEST=emerge minigbm Change-Id: Ic38fd538add6d4c85e502b9dc0feeabaa8378e2e Reviewed-on: https://chromium-review.googlesource.com/218978 Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Tested-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
parent
a39dfde7ac
commit
85afac436d
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
|
@ -14,6 +14,8 @@ CFLAGS += -Wall -Wsign-compare -Wpointer-arith -Wcast-qual -Wcast-align
|
|||
CPPFLAGS += $(PC_CFLAGS)
|
||||
LDLIBS += $(PC_LIBS)
|
||||
|
||||
LIBDIR ?= /usr/lib/
|
||||
|
||||
CC_LIBRARY(libgbm.so): $(C_OBJECTS)
|
||||
|
||||
all: CC_LIBRARY(libgbm.so)
|
||||
|
|
@ -21,5 +23,5 @@ all: CC_LIBRARY(libgbm.so)
|
|||
clean: CLEAN(libgbm.so)
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)/usr/lib
|
||||
install -m 755 $(OUT)/libgbm.so $(DESTDIR)/usr/lib/
|
||||
mkdir -p $(DESTDIR)/$(LIBDIR)
|
||||
install -m 755 $(OUT)/libgbm.so $(DESTDIR)/$(LIBDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue