aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-16 07:12:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-16 07:12:45 +0000
commit17918f676590530a06ffd72c2ad5047194de18af (patch)
tree6857c7d31685e865d66d5a98418e85957fa6b601 /src/Makefile
parent391cd01b419e6ba4dbcd19d902a947126391bb26 (diff)
downloadaports-17918f676590530a06ffd72c2ad5047194de18af.tar.bz2
aports-17918f676590530a06ffd72c2ad5047194de18af.tar.xz
build: fix make install of shared lib and lua module
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 41a3b322ab..11aa3052a0 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