Stefan Dirsch
4cfe93afca
Split xdm out of xorg-x11; no change to the content OBS-URL: https://build.opensuse.org/request/show/113498 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=1
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From c4031966dcbc47b2cc85b83ad78efcc64455cf72 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Fernando=20Tarl=C3=A1=20Cardoso=20Lemos?= <fernandotcl@gmail.com>
|
|
Date: Sat, 19 Feb 2011 17:53:08 -0200
|
|
Subject: [PATCH] Fix missing linking dependency on -ldl.
|
|
|
|
Recent versions of GCC ship with a linker that doesn't add the deps
|
|
of the DSOs to the linking process. This behavior is also found in
|
|
GNU gold. This change fixes building with those linkers.
|
|
|
|
Some references:
|
|
|
|
http://wiki.debian.org/ToolChain/DSOLinking
|
|
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
|
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
|
---
|
|
configure.ac | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
--- xdm-1.1.10/configure.ac.orig 2011-08-25 13:56:01.551431000 +0200
|
|
+++ xdm-1.1.10/configure.ac 2011-08-25 13:57:09.137351000 +0200
|
|
@@ -462,6 +462,9 @@ AM_CONDITIONAL(HAS_XDM_AUTH, test x$xdma
|
|
|
|
AC_SEARCH_LIBS(crypt, crypt)
|
|
|
|
+# Function dl() comes from the C library or -ldl
|
|
+AC_SEARCH_LIBS([dlopen], [dl])
|
|
+
|
|
AC_SUBST(XDM_CFLAGS)
|
|
AC_SUBST(XDM_LIBS)
|
|
|