Update TCL libraries link and restrict tcl8.6 only to SuSE.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user