|
From: <sm...@us...> - 2009-05-01 15:12:00
|
Revision: 9869
http://plplot.svn.sourceforge.net/plplot/?rev=9869&view=rev
Author: smekal
Date: 2009-05-01 15:11:49 +0000 (Fri, 01 May 2009)
Log Message:
-----------
For Cygwin we don't need the path to the driver directory since all dlls must be either in the current path or be found in the PATH environment variable (it's still Win32).
Modified Paths:
--------------
trunk/src/plcore.c
Modified: trunk/src/plcore.c
===================================================================
--- trunk/src/plcore.c 2009-05-01 15:11:24 UTC (rev 9868)
+++ trunk/src/plcore.c 2009-05-01 15:11:49 UTC (rev 9869)
@@ -2700,7 +2700,7 @@
if (!driver->dlhand)
{
char drvspec[ DRVSPEC_SIZE ];
-#ifdef LTDL_WIN32
+#if defined(LTDL_WIN32) || defined(__CYGWIN__)
snprintf( drvspec, DRVSPEC_SIZE, "%s", driver->drvnam );
#else
snprintf( drvspec, DRVSPEC_SIZE, "%s/%s", plGetDrvDir (), driver->drvnam );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|