mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
libdnet: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
20528a8449
commit
84d37d15e3
@ -24,9 +24,11 @@ LIBDNET_INSTALL_TARGET_OPT = $(LIBDNET_MAKE_OPT) DESTDIR=$(TARGET_DIR) INSTALL_S
|
|||||||
LIBDNET_INSTALL_STAGING_OPT = $(LIBDNET_MAKE_OPT) DESTDIR=$(STAGING_DIR) install
|
LIBDNET_INSTALL_STAGING_OPT = $(LIBDNET_MAKE_OPT) DESTDIR=$(STAGING_DIR) install
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Needed for autoreconf to work properly
|
||||||
|
define LIBDNET_FIXUP_ACINCLUDE_M4
|
||||||
|
ln -sf config/acinclude.m4 $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
|
LIBDNET_POST_EXTRACT_HOOKS += LIBDNET_FIXUP_ACINCLUDE_M4
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,libdnet))
|
$(eval $(call AUTOTARGETS,package,libdnet))
|
||||||
|
|
||||||
$(LIBDNET_HOOK_POST_EXTRACT):
|
|
||||||
ln -sf config/acinclude.m4 $(LIBDNET_DIR)
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user