diff libpostproc/Makefile @ 2564:ad15cccd015f libavcodec

add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
author michael
date Wed, 16 Mar 2005 19:11:58 +0000
parents e003222c878d
children c0ce123ef11c
line wrap: on
line diff
--- a/libpostproc/Makefile	Wed Mar 16 13:09:30 2005 +0000
+++ b/libpostproc/Makefile	Wed Mar 16 19:11:58 2005 +0000
@@ -54,9 +54,9 @@
 ifeq ($(CONFIG_WIN32),yes)
        install $(INSTALLSTRIP) -m 755 $(SPPLIB) "$(prefix)"
 else
-	install -d $(prefix)/lib
-	install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(prefix)/lib/$(SPPLIB).$(SPPVERSION)
-	ln -sf $(SPPLIB).$(SPPVERSION) $(prefix)/lib/$(SPPLIB)
+	install -d $(libdir)
+	install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(libdir)/$(SPPLIB).$(SPPVERSION)
+	ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB)
 	ldconfig || true
 endif
 endif