unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: sdl: Explicity use mesa as OpenGL driver.
Date: Sat, 21 Mar 2015 22:26:42 +0100	[thread overview]
Message-ID: <87wq2a2ga5.fsf@gnu.org> (raw)
In-Reply-To: <1426924046-10364-2-git-send-email-iyzsong@gmail.com> ("宋文武"'s message of "Sat, 21 Mar 2015 15:47:26 +0800")

宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
>   'LDFLAGS=-lGL'.

[...]

>         #:configure-flags '("--disable-alsa-shared"
>                             "--disable-pulseaudio-shared"
> -                           "--disable-x11-shared")
> +                           "--disable-x11-shared"
> +                           ;; Explicity link with mesa as OpenGL driver.
> +                           "LDFLAGS=-lGL")

Could you explain in the comment why this is necessary?  I guess that’s
to make sure Mesa in the libsdl’s RUNPATH?

Thanks,
Ludo’.

  reply	other threads:[~2015-03-21 21:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-21  7:47 [PATCH 1/2] gnu: sdl: Allow dlopen for OpenGL 宋文武
2015-03-21  7:47 ` [PATCH 2/2] gnu: sdl: Explicity use mesa as OpenGL driver 宋文武
2015-03-21 21:26   ` Ludovic Courtès [this message]
2015-03-23 14:08     ` 宋文武
2015-03-21 21:25 ` [PATCH 1/2] gnu: sdl: Allow dlopen for OpenGL Ludovic Courtès
2015-03-23 14:04   ` 宋文武
2015-03-29 13:15     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wq2a2ga5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).