diff options
-rw-r--r-- | main/faac/APKBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD index 2de4bd953b..1e196aac4a 100644 --- a/main/faac/APKBUILD +++ b/main/faac/APKBUILD @@ -14,7 +14,9 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t prepare() { cd "$srcdir/$pkgname-$pkgver" #taken from http://bugs.sourcemage.org/show_bug.cgi?id=15263 - sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" common/mp4v2/mpeg4ip.h + [ "$ALPINE_LIBC" = "eglibc" ] && sed -i \ + "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \ + common/mp4v2/mpeg4ip.h } build() { |