Fix for the Cygwin build related to the new FileUtils_Unix not using the
Windows PATH environmental variable for searching for libraries. Sent in by Norman Vine. Reoder of the makedefs/makedirdefs to fix Mac OSX compilation. Sent in by Bob Kuehne.
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
|||||||
TOPDIR = .
|
TOPDIR = .
|
||||||
include $(TOPDIR)/Make/makedefs
|
|
||||||
include $(TOPDIR)/Make/makedirdefs
|
include $(TOPDIR)/Make/makedirdefs
|
||||||
|
include $(TOPDIR)/Make/makedefs
|
||||||
|
|
||||||
DIRS = $(TOP_LEVEL_DIRS)
|
DIRS = $(TOP_LEVEL_DIRS)
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getVersion_osg() returns the library version number.
|
* osgGetVersion() returns the library version number.
|
||||||
* Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osg.
|
* Numbering convention : OpenSceneGraph-0.8-31 will return 0.8.31 from osgGetVersion.
|
||||||
*
|
*
|
||||||
* This C function can be also used to check for the existence of the OpenSceneGraph
|
* This C function can be also used to check for the existence of the OpenSceneGraph
|
||||||
* library using autoconf and its m4 macro AC_CHECK_LIB.
|
* library using autoconf and its m4 macro AC_CHECK_LIB.
|
||||||
@@ -28,7 +28,7 @@ extern "C" {
|
|||||||
extern SG_EXPORT const char* osgGetVersion();
|
extern SG_EXPORT const char* osgGetVersion();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getLibraryName_osg() returns the library name in human friendly form.
|
* osgGetLibraryName() returns the library name in human friendly form.
|
||||||
*/
|
*/
|
||||||
extern SG_EXPORT const char* osgGetLibraryName();
|
extern SG_EXPORT const char* osgGetLibraryName();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
TOPDIR = ../..
|
TOPDIR = ../..
|
||||||
include $(TOPDIR)/Make/makedefs
|
|
||||||
include $(TOPDIR)/Make/makedirdefs
|
include $(TOPDIR)/Make/makedirdefs
|
||||||
|
include $(TOPDIR)/Make/makedefs
|
||||||
|
|
||||||
DIRS = $(DEMOS_DIRS)
|
DIRS = $(DEMOS_DIRS)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
TOPDIR = ..
|
TOPDIR = ..
|
||||||
include $(TOPDIR)/Make/makedefs
|
|
||||||
include $(TOPDIR)/Make/makedirdefs
|
include $(TOPDIR)/Make/makedirdefs
|
||||||
|
include $(TOPDIR)/Make/makedefs
|
||||||
|
|
||||||
DIRS = $(SRC_DIRS)
|
DIRS = $(SRC_DIRS)
|
||||||
|
|
||||||
|
|||||||
@@ -219,6 +219,15 @@ char *osgDB::findDSO( const char *name )
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
|
||||||
|
if ((ptr = getenv( "PATH" )))
|
||||||
|
{
|
||||||
|
notify(DEBUG_INFO) << "PATH = "<<ptr<<std::endl;
|
||||||
|
strcat( path, PathDelimitor );
|
||||||
|
strcat( path, ptr );
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
if( (ptr = getenv( "LD_LIBRARY_PATH" )))
|
if( (ptr = getenv( "LD_LIBRARY_PATH" )))
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
TOPDIR = ../..
|
TOPDIR = ../..
|
||||||
include $(TOPDIR)/Make/makedefs
|
|
||||||
include $(TOPDIR)/Make/makedirdefs
|
include $(TOPDIR)/Make/makedirdefs
|
||||||
|
include $(TOPDIR)/Make/makedefs
|
||||||
|
|
||||||
DIRS = $(PLUGIN_DIRS)
|
DIRS = $(PLUGIN_DIRS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user