| > Using: ./configure --enable-shared=no
> Any ideas? I need a static executable that can be run
with
> NO libraries whatsoever.
in httrack.c, add the following lines after the #includes:
/* Static definitions */
static int fexist(char* s);
static int linput(FILE* fp,char* s,int max);
and in the end of the file, change the two function
definitions to static ones:
static int fexist(char* s) {
...
static int linput(FILE* fp,char* s,int max) {
..
This should do the trick.
But remember that httrack will try to "plug" openSSL and
ZLib libraries anyway. The only way to prevent that is to
disable the dlopen feature inside the makefile.
| |