mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 04:47:14 +02:00
67 lines
2.2 KiB
Diff
67 lines
2.2 KiB
Diff
Remove bundled zlib, libvorbis and libogg.
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -250,6 +250,7 @@
|
|
|
|
CXXFLAGS += -D__LIBRETRO__
|
|
CFLAGS += -D__LIBRETRO__
|
|
+LIBS += -lz -lvorbisfile -lvorbis -logg
|
|
|
|
all: $(TARGET)
|
|
|
|
--- a/Makefile.common
|
|
+++ b/Makefile.common
|
|
@@ -3,53 +3,9 @@
|
|
DAPHNE_DIR := $(DAPHNE_MAIN_DIR)/daphne-1.0-src
|
|
|
|
INCFLAGS := -I$(CORE_DIR) \
|
|
- -I$(CORE_DIR)/deps/libogg/include \
|
|
- -I$(CORE_DIR)/deps/libvorbis/include \
|
|
-I$(DAPHNE_MAIN_DIR)/include \
|
|
-I$(DAPHNE_DIR)/vldp2/include \
|
|
- -I$(CORE_DIR)/deps/libvorbis/lib \
|
|
-I$(CORE_DIR)/daphne/libretro
|
|
-
|
|
-SOURCES_C := $(DEPS_DIR)/libogg/src/bitwise.c \
|
|
- $(DEPS_DIR)/libogg/src/framing.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/analysis.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/bitrate.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/block.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/codebook.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/envelope.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/floor0.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/floor1.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/info.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/lookup.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/lpc.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/lsp.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/mapping0.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/mdct.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/psy.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/registry.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/res0.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/sharedbook.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/smallft.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/synthesis.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/vorbisenc.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/vorbisfile.c \
|
|
- $(DEPS_DIR)/libvorbis/lib/window.c \
|
|
-
|
|
-SOURCES_C += $(DEPS_DIR)/zlib/deflate.c \
|
|
- $(DEPS_DIR)/zlib/gzlib.c \
|
|
- $(DEPS_DIR)/zlib/uncompr.c \
|
|
- $(DEPS_DIR)/zlib/zutil.c \
|
|
- $(DEPS_DIR)/zlib/inffast.c \
|
|
- $(DEPS_DIR)/zlib/gzread.c \
|
|
- $(DEPS_DIR)/zlib/crc32.c \
|
|
- $(DEPS_DIR)/zlib/gzwrite.c \
|
|
- $(DEPS_DIR)/zlib/inflate.c \
|
|
- $(DEPS_DIR)/zlib/infback.c \
|
|
- $(DEPS_DIR)/zlib/inftrees.c \
|
|
- $(DEPS_DIR)/zlib/trees.c \
|
|
- $(DEPS_DIR)/zlib/gzclose.c \
|
|
- $(DEPS_DIR)/zlib/compress.c \
|
|
- $(DEPS_DIR)/zlib/adler32.c
|
|
|
|
SOURCES_CXX :=
|
|
|