summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/984516
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/984516')
-rw-r--r--results/scraper/launchpad-without-comments/98451623
1 files changed, 23 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/984516 b/results/scraper/launchpad-without-comments/984516
new file mode 100644
index 000000000..e8527fe7a
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/984516
@@ -0,0 +1,23 @@
+should use sdl-config for static build not pkg-config
+
+In the configure script when a user wants to compile a static QEMU and enable SDL support (i.e. ./configure --static --enable-sdl):
+
+pkg-config does not have an option "--static-libs". For correct results (to find the static archive libSDL.a) you need to use sdl-config --static-libs.
+
+
+This is how I get it to work for me anyway:
+
+
+diff --git a/configure b/configure
+index 2d62d12..3de4c9b 100755
+--- a/configure
++++ b/configure
+@@ -1548,7 +1548,7 @@ int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
+ EOF
+   sdl_cflags=`$sdlconfig --cflags 2> /dev/null`
+   if test "$static" = "yes" ; then
+-    sdl_libs=`$sdlconfig --static-libs 2>/dev/null`
++    sdl_libs=`${SDL_CONFIG-${cross_prefix}sdl-config} --static-libs`
+   else
+     sdl_libs=`$sdlconfig --libs 2> /dev/null`
+   fi
\ No newline at end of file