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:
parent
37c98c1eaf
commit
20b5e59dfd
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
TOPDIR = .
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
include $(TOPDIR)/Make/makedirdefs
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
DIRS = $(TOP_LEVEL_DIRS)
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
extern "C" {
|
||||
|
||||
/**
|
||||
* getVersion_osg() returns the library version number.
|
||||
* Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osg.
|
||||
* osgGetVersion() returns the library version number.
|
||||
* 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
|
||||
* library using autoconf and its m4 macro AC_CHECK_LIB.
|
||||
@ -28,7 +28,7 @@ extern "C" {
|
||||
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();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
include $(TOPDIR)/Make/makedirdefs
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
DIRS = $(DEMOS_DIRS)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
TOPDIR = ..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
include $(TOPDIR)/Make/makedirdefs
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
DIRS = $(SRC_DIRS)
|
||||
|
||||
|
@ -219,14 +219,23 @@ char *osgDB::findDSO( const char *name )
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
#elif defined(__CYGWIN__)
|
||||
|
||||
if ((ptr = getenv( "PATH" )))
|
||||
{
|
||||
notify(DEBUG_INFO) << "PATH = "<<ptr<<std::endl;
|
||||
strcat( path, PathDelimitor );
|
||||
strcat( path, ptr );
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
if( (ptr = getenv( "LD_LIBRARY_PATH" )))
|
||||
{
|
||||
strcat( path, PathDelimitor );
|
||||
strcat( path, ptr );
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
// check existance of dso assembled direct paths.
|
||||
|
@ -1,6 +1,6 @@
|
||||
TOPDIR = ../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
include $(TOPDIR)/Make/makedirdefs
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
DIRS = $(PLUGIN_DIRS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user