Browse files

Adding -lz flag to make files

  • Loading branch information...
1 parent 170f3d8 commit bf22c0104c9b047c111740b5d7f7fdcbdccc093a @kavink kavink committed Jan 21, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 Makesalt
View
2 Makefile
@@ -13,7 +13,7 @@ CFLAGS = -g -fno-common -std=gnu99 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64
CFLAGS += -MMD
LDFLAGS = $(CFLAGS)
INCLUDES = $(DIR_INCLUDE:%=-I%) -I/usr/include
-LIBRARIES = -lpthread -lrt -lcrypto -lssl
+LIBRARIES = -lpthread -lrt -lcrypto -lssl -lz
OBJECTS = $(SOURCES:%.c=$(DIR_OBJECT)/%.o)
DEPENDENCIES = $(OBJECTS:%.o=%.d)
View
2 Makesalt
@@ -12,7 +12,7 @@ CFLAGS = -g -fno-common -std=gnu99 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64
CFLAGS += -MMD
LDFLAGS = $(CFLAGS)
INCLUDES = $(DIR_INCLUDE:%=-I%) -I/usr/include
-LIBRARIES = -lpthread -lrt -lssl
+LIBRARIES = -lpthread -lrt -lssl -lz
OBJECTS = $(SOURCES:%.c=$(DIR_OBJECT)/%.o)
DEPENDENCIES = $(OBJECTS:%.o=%.d)

0 comments on commit bf22c01

Please sign in to comment.