Fixed dependencies and a syntax error

This commit is contained in:
Werner Koch 2010-04-14 17:56:22 +00:00
parent 08ee8adc45
commit 6616ba9a1e
3 changed files with 7 additions and 2 deletions

View File

@ -526,7 +526,7 @@ gnupg_remove (const char *fname)
gpg_err_set_errno (EIO); gpg_err_set_errno (EIO);
return !rc; return !rc;
#else #else
return remove; return remove (fname);
#endif #endif
} }
@ -590,7 +590,7 @@ gnupg_mkdir (const char *name, const char *modestr)
if (*modestr && *modestr++ == 'x') if (*modestr && *modestr++ == 'x')
mode |= S_IXOTH; mode |= S_IXOTH;
} }
return mkdir (home, mode) return mkdir (name, mode);
#endif #endif
} }

View File

@ -2,6 +2,7 @@
* Makefile.am (bin_PROGRAMS) [W32CE]: Exclude gpgkey2ssh. * Makefile.am (bin_PROGRAMS) [W32CE]: Exclude gpgkey2ssh.
(noinst_PROGRAMS) [W32CE]: Don't build them. (noinst_PROGRAMS) [W32CE]: Don't build them.
(pwquery_libs) [W32CE]: Set to empty.
2010-03-25 Werner Koch <wk@g10code.com> 2010-03-25 Werner Koch <wk@g10code.com>

View File

@ -60,7 +60,11 @@ noinst_PROGRAMS = clean-sat mk-tdata make-dns-cert gpgsplit
endif endif
common_libs = $(libcommon) ../gl/libgnu.a common_libs = $(libcommon) ../gl/libgnu.a
if HAVE_W32CE_SYSTEM
pwquery_libs =
else
pwquery_libs = ../common/libsimple-pwquery.a pwquery_libs = ../common/libsimple-pwquery.a
endif
if HAVE_W32CE_SYSTEM if HAVE_W32CE_SYSTEM
opt_libassuan_libs = $(LIBASSUAN_LIBS) opt_libassuan_libs = $(LIBASSUAN_LIBS)