From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Tue, 18 Feb 2014 22:11:13 +0100 Subject: [Buildroot] [PATCH 2 of 4] alsa-lib: add a fake dlfcn.h header if dynamic load is not supported In-Reply-To: (Thomas De Schampheleire's message of "Tue, 18 Feb 2014 15:19:18 +0100") References: <2b373a4c038e8029fbfb.1392224142@argentina> <87a9dowtgi.fsf@dell.be.48ers.dk> <87wqgsv76u.fsf@dell.be.48ers.dk> Message-ID: <87a9do5dou.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas De Schampheleire writes: Hi, >> > where snd_dlopen is a wrapper: >> >> Ok, why don't we then just stick: >> >> #ifndef RTLD_NOW >> #define RTLD_NOW 0 >> #endif >> >> #ifndef RTLD_GLOBAL >> #define RTLD_GLOBAL 0 >> #endif >> >> To the header where snd_dlopen is defined? > That could be done, but we still need something like: > #ifdef HAVE_LIBDL > #include > #endif Ehh yes, but atleast we don't need to introduce a new file. -- Bye, Peter Korsgaard