#2130 Don't build conntest. Build is broken when --enable-webready. Fixed issue with samples/geotag.cpp on Linux.
This commit is contained in:
parent
b1a9d4493f
commit
1b536bd0ed
@ -55,7 +55,6 @@ include $(top_srcdir)/config/config.mk
|
||||
|
||||
# Add source files of sample programs to this list
|
||||
BINSRC = addmoddel.cpp \
|
||||
conntest.cpp \
|
||||
convert-test.cpp \
|
||||
easyaccess-test.cpp \
|
||||
exifcomment.cpp \
|
||||
|
||||
@ -808,7 +808,11 @@ int main(int argc,const char* argv[])
|
||||
if ( type == typeImage ) {
|
||||
time_t t = readImageTime(std::string(arg)) ;
|
||||
char buffer[1024];
|
||||
#ifdef __APPLE__
|
||||
char* path = realpath(arg,buffer);
|
||||
#else
|
||||
char* path = realpath(arg,NULL);
|
||||
#endif
|
||||
if ( t && path ) {
|
||||
if ( options.verbose) printf("%s %ld %s",path,(long int)t,asctime(localtime(&t)));
|
||||
gFiles.push_back(path);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user