diff options
author | Cem Keylan <cem@ckyln.com> | 2020-08-27 00:06:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-08-27 00:06:24 +0300 |
commit | e8f622ce28eb841bfa718a7c2b92191bf3d84b90 (patch) | |
tree | f2b22fb84971a2d76557922ff47f86ef8941c1e6 /extra/alsa-lib | |
parent | 4536584b4c9675d5c8e1985a72575c54c7e337aa (diff) | |
download | repository-e8f622ce28eb841bfa718a7c2b92191bf3d84b90.tar.gz |
alsa-lib: build static library
Diffstat (limited to 'extra/alsa-lib')
-rwxr-xr-x | extra/alsa-lib/build | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/extra/alsa-lib/build b/extra/alsa-lib/build index d6f70b3d..edc209ad 100755 --- a/extra/alsa-lib/build +++ b/extra/alsa-lib/build @@ -1,8 +1,20 @@ #!/bin/sh -e ./configure \ - --without-debug \ - --prefix=/usr + --prefix=/usr \ + --without-debug make make DESTDIR="$1" install + +# Compile the static library. Due to a bug in libtool/alsa-lib you cannot +# compile static and shared libraries together. + +make clean + +./configure \ + --enable-static=yes \ + --enable-shared=no + +make +install -Dm644 src/.libs/libasound.a "$1/usr/lib/libasound.a" |