25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Better DLL location detection when executing make install

This commit is contained in:
Evgeniy Khramtsov 2013-06-19 10:40:33 +10:00
parent 1ea5614209
commit 7b870f5a30

View File

@ -103,6 +103,8 @@ spec:
$(ERL) -noinput +B -pa ebin -pa deps/*/ebin -eval \ $(ERL) -noinput +B -pa ebin -pa deps/*/ebin -eval \
'case xml_gen:compile("tools/xmpp_codec.spec") of ok -> halt(0); _ -> halt(1) end.' 'case xml_gen:compile("tools/xmpp_codec.spec") of ok -> halt(0); _ -> halt(1) end.'
DLLs := $(wildcard deps/*/priv/*.so) $(wildcard deps/*/priv/lib/*.so)
install: all install: all
# #
# Configuration files # Configuration files
@ -152,9 +154,7 @@ install: all
# #
# Binary system libraries # Binary system libraries
$(INSTALL) -d $(SODIR) $(INSTALL) -d $(SODIR)
#$(INSTALL) -m 644 priv/lib/*.so $(SODIR) $(INSTALL) -m 644 $(DLLs) $(SODIR)
$(INSTALL) -m 644 deps/*/priv/lib/*.so $(SODIR)
$(INSTALL) -m 644 deps/*/priv/*.so $(SODIR)
# #
# Translated strings # Translated strings
$(INSTALL) -d $(MSGSDIR) $(INSTALL) -d $(MSGSDIR)