ports/audio/mythplugin-mythmusic/files/patch-settings.pro
Jason E. Hale db032688df Update multimedia/mythtv and related ports to 29.1 [1]
Convert multimedia/mythtv-frontend to a slave port of multimedia/mythtv
which should make future updates much easier.

Upstream security patches have been added to address known
vulnerabilities in the bundled ffmpeg 3.2.

PR:		225652 (initial patches to update to 29.0) [1]
Submitted by:	<lucylangthorne55@gmail.com> [1]
Differential Revision:	https://reviews.freebsd.org/D14563
2018-03-25 17:09:05 +00:00

12 lines
342 B
Prolog

Prevent linking to unneccessary libraries
--- settings.pro.orig 2018-02-25 02:52:28 UTC
+++ settings.pro
@@ -34,6 +34,7 @@ QMAKE_CXXFLAGS += $$ARCHFLAGS
QMAKE_CXXFLAGS += $$CONFIG_DIRECTFB_CXXFLAGS
QMAKE_CXXFLAGS_SHLIB = -DPIC -fPIC
QMAKE_CXXFLAGS += $$ECXXFLAGS
+QMAKE_LFLAGS += -Wl,--as-needed
profile:!win32:!macx:CONFIG += debug