Skip to content

Commit

Permalink
Install prefix modified.
Browse files Browse the repository at this point in the history
  • Loading branch information
liamw9534 committed Jun 3, 2014
1 parent d968e90 commit 65a7d77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions codecs/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CC = gcc
CFLAGS =
INSTALL_PREFIX = /usr/local/lib
INSTALL_PREFIX = /usr
HEADER = rtpsbc.h

ifndef PLATFORM
Expand All @@ -25,7 +25,7 @@ clean:
rm -f $(OBJS) $(TARGET)

install: $(TARGET)
cp $(TARGET) $(INSTALL_PREFIX)
cp $(basename $(TARGET)).pc $(INSTALL_PREFIX)/pkgconfig
cp $(HEADER) /usr/local/include
cp $(TARGET) $(INSTALL_PREFIX)/lib
cp $(basename $(TARGET)).pc $(INSTALL_PREFIX)/lib/pkgconfig
cp $(HEADER) $(INSTALL_PREFIX)/include
ldconfig
2 changes: 1 addition & 1 deletion codecs/librtpsbc.pc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prefix=/usr/local
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Expand Down

0 comments on commit 65a7d77

Please sign in to comment.