• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/flite/0002-fix-alsa-static.patch
Luca CeresoliLuca Ceresoli committed dd4bcebd7c412 Jul 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Use pkg-config to determine alsa link flags. This fixes static linking.
2
​
3
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
4
​
5
diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
6
--- flite-1.4-release.orig/flite-1.4-release/configure.in   2009-08-14 23:46:38.000000000 +0300
7
+++ flite-1.4-release/flite-1.4-release/configure.in    2014-04-30 18:52:33.253297236 +0300
8
@@ -275,7 +275,10 @@
9
                 #endif],
10
               [AUDIODRIVER="alsa"
11
           AUDIODEFS=-DCST_AUDIO_ALSA
12
-               AUDIOLIBS=-lasound])
13
+               AUDIOLIBS=`pkg-config --libs alsa`
14
+               if test "$shared" = false; then
15
+                   AUDIOLIBS=`pkg-config --libs --static alsa`
16
+               fi])
17
 AC_CHECK_HEADER(mmsystem.h,
18
          [AUDIODRIVER="wince"
19
           AUDIODEFS=-DCST_AUDIO_WINCE
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.