Update README.md

This commit is contained in:
Mike Brady 2017-04-16 20:11:15 +01:00 committed by GitHub
parent 9c33501311
commit 725b18406a

View file

@ -5,7 +5,8 @@ This repository is a clone of the Apple Lossless Audio Codec (ALAC) repository a
The added files are based on work done by [Tiancheng "Timothy" Gu](https://github.com/TimothyGu) in his repository https://github.com/TimothyGu/alac with some changes. Many thanks to him for his work. This respository is bare-bones for Visual Studio or Debian packaging support or for `man` pages, please go to Timothy's repository.
###Download, build, install
Download, Build, Install
---
To download, build and install `libalac` do the following:
@ -29,11 +30,13 @@ aclocal: warning: couldn't open directory 'm4': No such file or directory
```
# make install
```
Make it Available
---
* Finally, to make the library visible during compilation, you need to tell `ld` about it. Be careful here if you are on FreeBSD, the Linux commands will mess up your system. On Linux, use the following command:
```
# ldconfig -v
```
On FreeBSD you must add the location of the `soxr.pc` file to the `PKG_CONFIG_PATH`, if it exists, and define it otherwise. Here is what you do if it doesn't already exist:
On FreeBSD you must add the location of the `alac.pc` file to the `PKG_CONFIG_PATH`, if it exists, and define it otherwise. Here is what you do if it doesn't already exist:
```
$ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
$ export PKG_CONFIG_PATH