Attached the two patches used to build 1.8.14
cygwin package.
With that:
-------------------------------------------
Testing test_plugin.sh
Finished testing test_plugin.sh
============================
test_plugin.sh Test Log
============================
Testing with old file format:
[cut]
All plugin tests passed.
All Plugin API tests passed.
Finished testing test_plugin.sh
-------------------------------------------
Regards
Marco
--- origsrc/hdf5-1.8.14-pre1/src/H5PL.c 2014-10-29 18:13:19.000000000 +0100
+++ src/hdf5-1.8.14-pre1/src/H5PL.c 2014-10-30 21:44:42.898097700 +0100
@@ -406,8 +406,14 @@
/* The library we are looking for should be called libxxx.so... on
Unix
* or libxxx.xxx.dylib on Mac.
*/
+#ifndef __CYGWIN__
if(!HDstrncmp(dp->d_name, "lib", (size_t)3) &&
(HDstrstr(dp->d_name, ".so") || HDstrstr(dp->d_name,
".dylib"))) {
+#else
+ if(!HDstrncmp(dp->d_name, "cyg", (size_t)3) &&
+ HDstrstr(dp->d_name, ".dll") ) {
+
+#endif
h5_stat_t my_stat;
size_t pathname_len;
htri_t found_in_dir;
--- origsrc/hdf5-1.8.14-pre1/test/test_plugin.sh.in 2014-10-29
18:13:36.000000000 +0100
+++ src/hdf5-1.8.14-pre1/test/test_plugin.sh.in 2014-10-30 23:52:24.578308100
+0100
@@ -28,8 +28,17 @@
TEST_NAME=plugin
TEST_BIN=`pwd`/$TEST_NAME
FROM_DIR=`pwd`/.libs
-PLUGIN_LIB1="$FROM_DIR/libdynlib1.* $FROM_DIR/libdynlib3.*"
-PLUGIN_LIB2="$FROM_DIR/libdynlib2.*"
+case $(uname) in
+ CYGWIN* )
+ PLUGIN_LIB1="$FROM_DIR/cygdynlib1* $FROM_DIR/cygdynlib3*"
+ PLUGIN_LIB2="$FROM_DIR/cygdynlib2*"
+ ;;
+ *)
+ PLUGIN_LIB1="$FROM_DIR/libdynlib1.* $FROM_DIR/libdynlib3.*"
+ PLUGIN_LIB2="$FROM_DIR/libdynlib2.*"
+ ::
+esac
+
PLUGIN_LIBDIR1=testdir1
PLUGIN_LIBDIR2=testdir2
CP="cp -p" # Use -p to preserve mode,ownership,timestamps
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5