debuggers.hg

diff config/StdGNU.mk @ 22703:5d78193d67d1

libxc: portability fixes for NetBSD

Attached patch makes libxc build again on NetBSD after the recent rework.

[ Modified by iwj:

I changed the name of the new make variable from LIBDL to DLOPEN_LIBS.
The latter conforms to the naming scheme for similar variables found
in config/*.mk - PTHREAD_LIBS et al.

Also I moved the setting of the variable to -dl from Linux to StdGNU
(which makes it apply more widely) and also added it to SunOS.mk
(based on pure guesswork). ]

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Christoph Egger <Christoph.Egger@amd.com>
date Thu Jan 06 17:26:26 2011 +0000 (2011-01-06)
parents 0afdfb8b460f
children
line diff
     1.1 --- a/config/StdGNU.mk	Thu Jan 06 14:27:33 2011 +0000
     1.2 +++ b/config/StdGNU.mk	Thu Jan 06 17:26:26 2011 +0000
     1.3 @@ -60,6 +60,8 @@ SOCKET_LIBS =
     1.4  CURSES_LIBS = -lncurses
     1.5  PTHREAD_LIBS = -lpthread
     1.6  UTIL_LIBS = -lutil
     1.7 +DLOPEN_LIBS = -ldl
     1.8 +
     1.9  SONAME_LDFLAG = -soname
    1.10  SHLIB_LDFLAGS = -shared
    1.11