Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-chailove
Commits
6caa5157
Verified
Commit
6caa5157
authored
Sep 14, 2018
by
RobLoach
Browse files
emscripten: Compile nearest_resampler only when not STATIC_LINKING
parent
68c15b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
6caa5157
...
...
@@ -28,7 +28,6 @@ SOURCES_C += $(wildcard \
$(CORE_DIR)
/vendor/libretro-common/audio/audio_mixer.c
\
$(CORE_DIR)
/vendor/libretro-common/audio/conversion/
*
.c
\
$(CORE_DIR)
/vendor/libretro-common/audio/resampler/audio_resampler.c
\
$(CORE_DIR)
/vendor/libretro-common/audio/resampler/drivers/nearest_resampler.c
\
$(CORE_DIR)
/vendor/libretro-common/audio/resampler/drivers/null_resampler.c
\
$(CORE_DIR)
/vendor/libretro-common/audio/resampler/drivers/sinc_resampler.c
\
$(CORE_DIR)
/vendor/libretro-common/compat/compat_posix_string.c
\
...
...
@@ -46,6 +45,11 @@ SOURCES_C += $(wildcard \
$(CORE_DIR)
/vendor/libretro-common/streams/file_stream.c
\
$(CORE_DIR)
/vendor/libretro-common/vfs/
*
.c
\
)
# Only compile nearest_resampler when not STATIC_LINKING
ifneq
($(STATIC_LINKING), 1)
SOURCES_C
+=
$(CORE_DIR)
/vendor/libretro-common/audio/resampler/drivers/nearest_resampler.c
endif
# stb_vorbis
#SOURCES_C += $(CORE_DIR)/vendor/stb/stb_vorbis.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment