Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c3206815 authored by deuce's avatar deuce

Changes to build on win32 (hopefully)

parent 1bb2f6d4
......@@ -13,3 +13,9 @@ $(UIFCLIB-MT_BUILD): $(MT_OBJS)
@echo Creating $< ...
-$(QUIET)$(DELETE) $@
&$(QUIET)tlib $@ +$**
$(UIFCTEST): $(MTOBJODIR)$(DIRSEP)uifctest$(OFILE) $(MTOBJODIR)$(DIRSEP)filepick$(OFILE)
@echo Creating $@ ...
$(QUIET)$(CC) $(MT_LDFLAGS) $(UIFC-MT_LDFLAGS) $(XPDEV-MT_LDFLAGS) $(CIOLIB-MT_LDFLAGS) $(LDFLAGS) -o $@ $(MTOBJODIR)$(DIRSEP)filepick$(OFILE) $(MTOBJODIR)$(DIRSEP)uifctest$(OFILE) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS)
......@@ -183,6 +183,7 @@ void display_current_path(uifcapi_t *api, char *path)
char dpath[MAX_PATH+2];
int width;
int height;
char *p;
height=api->scrn_len-3;
width=SCRN_RIGHT-SCRN_LEFT-3;
......@@ -363,7 +364,7 @@ int filepick(uifcapi_t *api, char *title, struct file_pick *fp, char *dir, char
else
root=FALSE;
#else
#error Need to do something about root paths (in get_file_opt_list() too!)
//#error Need to do something about root paths (in get_file_opt_list() too!)
#endif
if(glob(dglob, 0, NULL, &dgl)!=0) {
if(lastpath==NULL) {
......
......@@ -10,5 +10,5 @@ lib: $(OBJODIR) $(LIBODIR) $(UIFCLIB_BUILD)
mtlib: $(MTOBJODIR) $(LIBODIR) $(UIFCLIB-MT_BUILD)
# Library dependencies.
$(UIFCTEST): $(CIOLIB-MT) $(XPDEV-MT_LIB) $(UIFCLIB-MT)
$(UIFCTEST): $(CIOLIB-MT) $(XPDEV-MT_LIB) $(UIFCLIB-MT) mtlib
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment