23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
|
$OpenBSD: patch-build_make_Makefile,v 1.1.1.1 2010/10/04 23:56:16 ckuethe Exp $
|
||
|
--- build/make/Makefile.orig Thu Sep 2 14:56:47 2010
|
||
|
+++ build/make/Makefile Sat Sep 25 16:48:26 2010
|
||
|
@@ -222,8 +222,7 @@ define so_template
|
||
|
# This needs further abstraction for dealing with non-GNU linkers.
|
||
|
$(1):
|
||
|
$(if $(quiet),@echo " [LD] $$@")
|
||
|
- $(qexec)$$(LD) -shared $$(LDFLAGS) \
|
||
|
- -Wl,--no-undefined -Wl,-soname,$$(SONAME) \
|
||
|
+ $(qexec)$$(CC) -shared -fPIC $$(LDFLAGS) \
|
||
|
-Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
|
||
|
$$(filter %.o,$$?) $$(extralibs)
|
||
|
endef
|
||
|
@@ -291,7 +290,7 @@ LIBS=$(call enabled,LIBS)
|
||
|
.libs: $(LIBS)
|
||
|
@touch $@
|
||
|
$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
|
||
|
-$(foreach lib,$(filter %so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH),$(LIBS)),$(eval $(call so_template,$(lib))))
|
||
|
+$(foreach lib,$(filter %so.$(LIBVPX_VERSION),$(LIBS)),$(eval $(call so_template,$(lib))))
|
||
|
|
||
|
INSTALL-LIBS=$(call cond_enabled,CONFIG_INSTALL_LIBS,INSTALL-LIBS)
|
||
|
ifeq ($(MAKECMDGOALS),dist)
|