mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Link TCL libraries and restrict tcl8.6 to SuSE only.
This commit is contained in:
parent
1ebd1a2416
commit
507665352f
2 changed files with 5 additions and 1 deletions
|
@ -824,7 +824,7 @@ get_distrib(FILE *inFile)
|
||||||
{
|
{
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
|
|
||||||
static char* yast = "/sbin/YaST";
|
static char* yast = "/sbin/yast";
|
||||||
static char* redhat = "/etc/redhat-release";
|
static char* redhat = "/etc/redhat-release";
|
||||||
|
|
||||||
fprintf (inFile, "%s\n", "#define LinuxUnknown 0");
|
fprintf (inFile, "%s\n", "#define LinuxUnknown 0");
|
||||||
|
|
|
@ -7,6 +7,10 @@ TCLLIB = -ltcl
|
||||||
|
|
||||||
#if defined(LinuxArchitecture)
|
#if defined(LinuxArchitecture)
|
||||||
TCLINC = -I/usr/include/tcl
|
TCLINC = -I/usr/include/tcl
|
||||||
|
#if DefaultLinuxDistribution == LinuxSuSE
|
||||||
|
TCLLIB = -ltcl8.6
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
|
#elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
|
||||||
TCLINC = -I/usr/local/include/tcl8.6
|
TCLINC = -I/usr/local/include/tcl8.6
|
||||||
TCLLIB = -ltcl86
|
TCLLIB = -ltcl86
|
||||||
|
|
Loading…
Reference in a new issue