List for cgit developers and users
 help / color / mirror / Atom feed
From: peter at colberg.org (Peter Colberg)
Subject: [PATCH] Link with -ldl on GNU/kFreeBSD
Date: Fri, 1 Jul 2016 21:50:37 -0400	[thread overview]
Message-ID: <20160702015037.GA15864@alcyone> (raw)
In-Reply-To: <1466376953-11504-1-git-send-email-peter@colberg.org>

On Sun, Jun 19, 2016 at 06:55:53PM -0400, Peter Colberg wrote:
> +ifeq (,$(filter $(uname_S),DragonFly FreeBSD NetBSD OpenBSD))
>  	CGIT_LIBS += -ldl
>  endif

LuaJIT adds -ldl for specific OSes, which seems a better choice:

https://github.com/LuaJIT/LuaJIT/blob/master/src/Makefile

  ifeq (Linux,$(TARGET_SYS))
    TARGET_XLIBS+= -ldl
  endif
  ifeq (GNU/kFreeBSD,$(TARGET_SYS))
    TARGET_XLIBS+= -ldl
  endif

I will post a revised patch.

Peter


  parent reply	other threads:[~2016-07-02  1:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-19 22:55 peter
2016-07-01 21:56 ` Jason
2016-07-02  1:33   ` peter
2016-07-02  1:50 ` peter [this message]
2016-07-02  2:00   ` [PATCH v2] " peter
2016-07-06 21:30     ` peter
2016-07-06 21:57       ` Jason

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

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

  git send-email \
    --in-reply-to=20160702015037.GA15864@alcyone \
    --to=cgit@lists.zx2c4.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.
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 NNTP newsgroup(s).