diff --git a/config.h b/config.h index 1f4bcb9..66f1e98 100644 --- a/config.h +++ b/config.h @@ -4,3 +4,7 @@ #ifndef PREFIX # define PREFIX "/usr/local" #endif + +#ifndef LIBDIR +# define LIBDIR PREFIX "/lib" +#endif diff --git a/src/Makefile b/src/Makefile index 0d652c8..b48308a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ CFLAGSF = -W -Wall -ansi -fPIC CFLAGS = -g AR = ar -rc RANLIB = ranlib -LD = ld -shared +LD = $(CC) -shared RM = rm -f MKDIR = mkdir -p INSTALL = install