Correct shared lib creation for OpenBSD.
ok ajacoutot@
This commit is contained in:
parent
9e44ed2a23
commit
95dd720194
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:35:50 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2013/03/12 05:19:57 brad Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= Open Phone Abstraction Library
|
||||
|
||||
DISTNAME= opal-3.10.10
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS= opal 3.1 # 3.10.10
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-configure,v 1.7 2013/03/02 14:05:59 ajacoutot Exp $
|
||||
--- configure.orig Wed Feb 20 03:18:59 2013
|
||||
+++ configure Sun Feb 24 09:19:31 2013
|
||||
$OpenBSD: patch-configure,v 1.8 2013/03/12 05:19:57 brad Exp $
|
||||
--- configure.orig Tue Feb 19 21:18:59 2013
|
||||
+++ configure Mon Mar 11 19:55:11 2013
|
||||
@@ -4601,7 +4601,7 @@ fi
|
||||
|
||||
WFLAGS=
|
||||
@ -15,7 +15,7 @@ $OpenBSD: patch-configure,v 1.7 2013/03/02 14:05:59 ajacoutot Exp $
|
||||
|
||||
|
||||
- LDSOOPTS="-shared -Wl,-soname,\$(LIB_FILENAME_SHARED_PAT)"
|
||||
+ LDSOOPTS="-shared -fPIC -Wl,-soname,\$(LIB_FILENAME_SHARED_PAT)"
|
||||
+ LDSOOPTS="-shared -fPIC"
|
||||
|
||||
HAVE_RANLIB=yes
|
||||
;;
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-plugins_configure,v 1.9 2012/11/27 08:13:15 ajacoutot Exp $
|
||||
--- plugins/configure.orig Mon Nov 26 11:48:31 2012
|
||||
+++ plugins/configure Tue Nov 27 08:23:29 2012
|
||||
$OpenBSD: patch-plugins_configure,v 1.10 2013/03/12 05:19:57 brad Exp $
|
||||
--- plugins/configure.orig Tue Feb 19 21:18:10 2013
|
||||
+++ plugins/configure Mon Mar 11 19:55:41 2013
|
||||
@@ -6481,7 +6481,7 @@ $as_echo "#define PLUGIN_CODEC_DLL_EXPORTS 1" >>confde
|
||||
|
||||
*)
|
||||
CFLAGS="$CFLAGS -fPIC"
|
||||
- LDSO='-shared -Wl,-soname,$(SONAME)'
|
||||
+ LDSO='-shared -fPIC -Wl,-soname,$(SONAME)'
|
||||
+ LDSO='-shared -fPIC'
|
||||
PLUGINEXT=so
|
||||
for ac_header in sys/time.h sys/file.h netinet/in.h
|
||||
do :
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-plugins_video_H_264_h264-x264_cxx,v 1.3 2013/03/02 14:05:59 ajacoutot Exp $
|
||||
$OpenBSD: patch-plugins_video_H_264_h264-x264_cxx,v 1.4 2013/03/12 05:19:57 brad Exp $
|
||||
|
||||
LOCALBASE/include/libavutil/common.h:170: error: 'UINT64_C' was not declared in this scope,
|
||||
so move headers so that __STDC_CONSTANT_MACROS is defined at the right time.
|
||||
|
||||
--- plugins/video/H.264/h264-x264.cxx.orig Wed Feb 20 03:18:02 2013
|
||||
+++ plugins/video/H.264/h264-x264.cxx Sun Feb 24 09:19:31 2013
|
||||
--- plugins/video/H.264/h264-x264.cxx.orig Tue Feb 19 21:18:02 2013
|
||||
+++ plugins/video/H.264/h264-x264.cxx Mon Mar 11 19:52:33 2013
|
||||
@@ -36,14 +36,14 @@
|
||||
* $Date: 2013/03/02 14:05:59 $
|
||||
* $Date: 2013/03/12 05:19:57 $
|
||||
*/
|
||||
|
||||
+#include "../common/ffmpeg.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user