diff options
Diffstat (limited to 'lib/addons/library.kodi.audioengine/Makefile.in')
-rw-r--r-- | lib/addons/library.kodi.audioengine/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/addons/library.kodi.audioengine/Makefile.in b/lib/addons/library.kodi.audioengine/Makefile.in index 0acd0eec77..f237c63e3f 100644 --- a/lib/addons/library.kodi.audioengine/Makefile.in +++ b/lib/addons/library.kodi.audioengine/Makefile.in @@ -5,15 +5,17 @@ CXXFLAGS=-fPIC LIBNAME=libKODI_audioengine OBJS=$(LIBNAME).o +ifeq ($(findstring osx,$(ARCH)), osx) +LIB_SHARED=../../../addons/library.kodi.audioengine/$(LIBNAME)-$(ARCH).dylib +else LIB_SHARED=../../../addons/library.kodi.audioengine/$(LIBNAME)-$(ARCH).so +endif all: $(LIB_SHARED) $(LIB_SHARED): $(OBJS) ifeq ($(findstring osx,$(ARCH)), osx) - $(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \ - -bundle -undefined dynamic_lookup -o $@ \ - @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -dynamiclib -o $@ $(OBJS) else $(CXX) $(CFLAGS) $(LDFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS) endif |