Use correct OSNAME setting so we can find os-specific modules like libdrm.
This commit is contained in:
parent
c7ac485a59
commit
bc6cfde198
|
@ -33,10 +33,11 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* OSNAME is a standard form of the OS name that may be used by the
|
* OSNAME is a standard form of the OS name that may be used by the
|
||||||
* loader and by OS-specific modules.
|
* loader and by OS-specific modules. OSNAME here is different from what's in
|
||||||
|
* dix-config.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OSNAME
|
#undef OSNAME
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#define OSNAME "linux"
|
#define OSNAME "linux"
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
|
@ -66,7 +67,6 @@
|
||||||
#else
|
#else
|
||||||
#define OSNAME "unknown"
|
#define OSNAME "unknown"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the OS name, and run-time OS version */
|
/* Return the OS name, and run-time OS version */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue