[vlc-commits] [Git][videolan/vlc][master] meson: rtp: split as static library

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Jul 23 10:59:16 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
a50f9457 by Loïc Branstett at 2023-07-23T10:06:53+00:00
meson: rtp: split as static library

Counter-part of 49bdbee1434184946a75456a314f1ed34c447fc0

- - - - -


1 changed file:

- modules/access/rtp/meson.build


Changes:

=====================================
modules/access/rtp/meson.build
=====================================
@@ -1,3 +1,9 @@
+rtp_lib = static_library('rtp',
+    files('rtpfmt.c', 'session.c', 'rtp.h'),
+    include_directories: [vlc_include_dirs],
+    install: false,
+    pic: true)
+
 if libgcrypt_dep.found()
     srtp_lib = static_library('srtp',
                     files('srtp.c', 'srtp.h'),
@@ -14,17 +20,15 @@ vlc_modules += {
     'sources': 
         files(
             'input.c',
-            'session.c',
             'sdp.c',
             'sdp.h',
-            'rtpfmt.c',
             'datagram.c',
             'vlc_dtls.h',
             'rtp.c',
             'rtp.h',
         ),
     'dependencies': [socket_libs],
-    'link_with': srtp_lib,
+    'link_with': [rtp_lib, srtp_lib],
     'c_args': srtp_rtp_c_args,
 }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a50f9457e239c03efae02f9f173e3d161447d4c1

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a50f9457e239c03efae02f9f173e3d161447d4c1
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list