diff options
-rw-r--r-- | src/gallium/targets/pipe-loader/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/pipe-loader/Makefile b/src/gallium/targets/pipe-loader/Makefile index 963932d393f..eb3b4fc8aa3 100644 --- a/src/gallium/targets/pipe-loader/Makefile +++ b/src/gallium/targets/pipe-loader/Makefile @@ -149,9 +149,9 @@ $(PIPE_OBJECTS): %.o: %.c $(CC) -c -o $@ $< $(PIPE_CPPFLAGS) $(PIPE_CFLAGS) $(CFLAGS) install: $(PIPE_TARGETS) - $(INSTALL) -d $(PIPE_INSTALL_DIR) + $(INSTALL) -d $(DESTDIR)/$(PIPE_INSTALL_DIR) for tgt in $(PIPE_TARGETS); do \ - $(MINSTALL) "$$tgt" $(PIPE_INSTALL_DIR); \ + $(MINSTALL) "$$tgt" $(DESTDIR)/$(PIPE_INSTALL_DIR); \ done clean: |