diff options
author | Memphiz <memphis@machzwo.de> | 2016-01-03 16:27:03 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-01-04 18:37:18 +0100 |
commit | 677b6b6f7efa29ac32d56984ad36b70ff6efc4d9 (patch) | |
tree | 9934986f3ec90d59d99ea4b48f3fdfb15c32ac69 /lib/addons/library.kodi.adsp | |
parent | e0fe70ace4296cf93a45cc6c4ccbcb547d95afa6 (diff) |
[library.kodi/librariy.xbmc] - fixed dylib names for osx/ios and don't wrap our addon libraries
Diffstat (limited to 'lib/addons/library.kodi.adsp')
-rw-r--r-- | lib/addons/library.kodi.adsp/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/addons/library.kodi.adsp/Makefile.in b/lib/addons/library.kodi.adsp/Makefile.in index 12edc7858f..1538380be0 100644 --- a/lib/addons/library.kodi.adsp/Makefile.in +++ b/lib/addons/library.kodi.adsp/Makefile.in @@ -5,15 +5,17 @@ CXXFLAGS=-fPIC LIBNAME=libKODI_adsp OBJS=$(LIBNAME).o +ifeq ($(findstring osx,$(ARCH)), osx) +LIB_SHARED=../../../addons/library.kodi.adsp/$(LIBNAME)-$(ARCH).dylib +else LIB_SHARED=../../../addons/library.kodi.adsp/$(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 |