Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o, grobian@g.o
From: Donnie Berkholz <dberkholz@g.o>
Subject: Re: [gentoo-commits] gentoo-x86 commit in eclass: portability.eclass
Date: Fri, 27 Mar 2009 01:34:36 +0100
On 11:26 Sun 22 Mar     , Fabian Groffen (grobian) wrote:
> grobian     09/03/22 11:26:45
> 
>   Modified:             portability.eclass
>   Log:
>   make dlopen_lib work in a non-"BSD is the only other thing in the world" setting

>  # Gets the linker flag to link to dlopen() function
>  dlopen_lib() {
> -	if [[ ${ELIBC} != *BSD ]]; then
> +	# this might need a proper case statement, so far this seems to work as is
> +	# - Solaris needs nothing
> +	# - Darwin needs nothing
> +	# - *BSD needs nothing
> +	# - Linux needs -ldl
> +	if [[ ${CHOST} == *-linux-gnu ]]; then
>  		echo "-ldl"
>  	fi
>  }

How about uclibc?

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
Attachment:
pgpGplpPAfORk.pgp (PGP signature)
Replies:
Re: Re: [gentoo-commits] gentoo-x86 commit in eclass: portability.eclass
-- Fabian Groffen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
April KDE team meeting anouncement.
Next by thread:
Re: Re: [gentoo-commits] gentoo-x86 commit in eclass: portability.eclass
Previous by date:
Re: Gentoo Council Reminder for March 26
Next by date:
Re: bzr.eclass: The next level (this time with patch)


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.