24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
Index: build/make/Makefile
|
|
--- build/make/Makefile.orig
|
|
+++ build/make/Makefile
|
|
@@ -333,9 +333,7 @@ define so_template
|
|
# This needs further abstraction for dealing with non-GNU linkers.
|
|
$(1):
|
|
$(if $(quiet),@echo " [LD] $$@")
|
|
- $(qexec)$$(LD) -shared $$(LDFLAGS) \
|
|
- $(NO_UNDEFINED) \
|
|
- -Wl,-soname,$$(SONAME) \
|
|
+ $(qexec)$$(LD) -shared -fPIC $$(LDFLAGS) \
|
|
-Wl,--version-script,$$(EXPORTS_FILE) -o $$@ \
|
|
$$(filter %.o,$$^) $$(extralibs)
|
|
endef
|
|
@@ -420,7 +418,7 @@ LIBS=$(call enabled,LIBS)
|
|
.libs: $(LIBS)
|
|
@touch $@
|
|
$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
|
|
-$(foreach lib,$(filter %so.$(SO_VERSION_MAJOR).$(SO_VERSION_MINOR).$(SO_VERSION_PATCH),$(LIBS)),$(eval $(call so_template,$(lib))))
|
|
+$(foreach lib,$(filter %so.$(LIBVPX_VERSION),$(LIBS)),$(eval $(call so_template,$(lib))))
|
|
$(foreach lib,$(filter %$(SO_VERSION_MAJOR).dylib,$(LIBS)),$(eval $(call dl_template,$(lib))))
|
|
$(foreach lib,$(filter %$(SO_VERSION_MAJOR).dll,$(LIBS)),$(eval $(call dll_template,$(lib))))
|
|
|