erlang: Use $(ERLANG_LIB_DIR) to get Erlang libdir.

Instead of previous custom hack which didn't work properly on Debian.

Thanks: Hilko Bengen.
This commit is contained in:
Richard W.M. Jones
2013-03-14 12:47:40 +00:00
parent 04acc32abf
commit e29a130d8f

View File

@@ -30,7 +30,7 @@ EXTRA_DIST = \
if HAVE_ERLANG
erlang_bindir = $(libdir)/erlang/lib/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/ebin
erlang_bindir = $(ERLANG_LIB_DIR)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/ebin
erlang_bin_DATA = guestfs.beam