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
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to