From 09508c637efd439a410d31d1918581bd5881e90c Mon Sep 17 00:00:00 2001 From: Dipterix Wang <8163576+dipterix@users.noreply.github.com> Date: Wed, 2 Oct 2024 07:14:22 -0400 Subject: [PATCH] Create targets.mk for libaec --- libs/recipes/libaec/targets.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libs/recipes/libaec/targets.mk diff --git a/libs/recipes/libaec/targets.mk b/libs/recipes/libaec/targets.mk new file mode 100644 index 00000000..1205dcf8 --- /dev/null +++ b/libs/recipes/libaec/targets.mk @@ -0,0 +1,10 @@ +# https://github.com/Homebrew/homebrew-core/blob/cd71c6db511f368436d9b0bec570f282a4eb3d05/Formula/lib/libaec.rb#L23C3-L28C34 +# link_overwrite "include/szlib.h" (WASM_CPPFLAGS += -I$(WASM)/include) should be able to find? +# link_overwrite "lib/libsz.a" (WASM_LDFLAGS += -L$(WASM)/lib) should be able to find? +# link_overwrite "lib/libsz.dylib" +# link_overwrite "lib/libsz.2.dylib" +# link_overwrite "lib/libsz.so" +# link_overwrite "lib/libsz.so.2" + +LIBAEC_WASM_LIB = $(WASM)/lib/libsz.a +OPTIONAL_WASM_LIBS += $(LIBAEC_WASM_LIB)