Blob Blame Raw
diff --git a/src/Makefile b/src/Makefile
index ee99f00..44f50a8 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -15,7 +15,7 @@ FEATURES=-DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1
 DEBUGCXXFLAGS=-ggdb1 -rdynamic -g -O0 -fno-inline -fno-eliminate-unused-debug-types -gstabs -g3
 CXXFLAGS=$(FEATURES) -Wall -I. $(UIFLAGS) $(shell xml2-config --cflags) -DICON_FILE=\"$(datadir)/pixmaps/u4.bmp\" -DVERSION=\"$(VERSION)\" $(DEBUGCXXFLAGS)
 CFLAGS=$(CXXFLAGS)
-LIBS=$(UILIBS) $(shell xml2-config --libs) -lpng -lz
+LIBS=$(UILIBS) $(shell xml2-config --libs) -lpng -lz $(EXTRALIBS)
 INSTALL=install
 
 ifeq ($(STATIC_GCC_LIBS),true)
diff --git a/src/Makefile.common b/src/Makefile.common
index d1d9b22..82c88cf 100644
--- a/src/Makefile.common
+++ b/src/Makefile.common
@@ -6,7 +6,6 @@ VERSION=1.1svn
 CSRCS=\
         lzw/hash.c \
         lzw/lzw.c \
-        unzip.c \
         $(NULL)
 
 CXXSRCS=\
diff --git a/src/u4file.cpp b/src/u4file.cpp
index b2fbc98..48da5cb 100644
--- a/src/u4file.cpp
+++ b/src/u4file.cpp
@@ -5,9 +5,9 @@
 #include <cctype>
 #include <cstring>
 #include <cstdlib>
+#include <unzip.h>
 
 #include "u4file.h"
-#include "unzip.h"
 #include "debug.h"
 #ifdef MACOSX
 #include <libgen.h>