From 17918f676590530a06ffd72c2ad5047194de18af Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 16 Sep 2011 07:12:45 +0000 Subject: build: fix make install of shared lib and lua module --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 41a3b32..11aa305 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,7 @@ shlibs-y += apk.so apk.so-objs := lua-apk.o CFLAGS_lua-apk.o := -DAPK_VERSION=\"$(FULL_VERSION)\" LUA_LIB-y := $(obj)/apk.so -install-LUA_LIB-y := $(INSTALLDIR) $(DESTDIR)$(LUA_LIBDIR) \ +install-LUA_LIB-y := $(INSTALLDIR) $(DESTDIR)$(LUA_LIBDIR) && \ $(INSTALL) $(LUA_LIB-y) $(DESTDIR)$(LUA_LIBDIR) endif @@ -43,7 +43,7 @@ endif ifneq ($(SHARED_LIBAPK),) shlibs-y += libapk.so LIBAPK-y := $(obj)/libapk.so -install-LIBAPK-y := $(INSTALLDIR) $(DESTDIR)$(LIBDIR) \ +install-LIBAPK-y := $(INSTALLDIR) $(DESTDIR)$(LIBDIR) && \ $(INSTALL) $(LIBAPK-y) $(DESTDIR)$(LIBDIR) endif -- cgit v1.2.3-70-g09d2