From: Dariusz Michaluk Date: Wed, 15 May 2019 15:42:32 +0000 (+0200) Subject: Remove unnecessary dependencies X-Git-Tag: submit/tizen/20190606.103530^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fsecurity%2Fdrm-service-core-tizen.git;a=commitdiff_plain;h=873848dc14e0d6a5b3e66c515cbb19790074ad5c Remove unnecessary dependencies Do not expose unnecessary libraries to the program that is linking with drm-service-core-tizen library. If the program will not be using the symbols of the required library, it should not be linking directly to that library. pkg-config guide: https://people.freedesktop.org/~dbn/pkg-config-guide.html Change-Id: Iea4f7c47b9bd8eba79e384fde28808cd106e62cc --- diff --git a/drm-service-core-tizen.pc.in b/drm-service-core-tizen.pc.in index 740d721..8f78807 100644 --- a/drm-service-core-tizen.pc.in +++ b/drm-service-core-tizen.pc.in @@ -6,6 +6,6 @@ includedir=@INCLUDE_INSTALL_DIR@ Name: drm-service-core-tizen Description: Tizen Application DRM Plugin Version: @VERSION@ -Requires: dlog openssl sqlite3 +Requires: Libs: -L${libdir} -ldrm-service-core-tizen Cflags: -I${includedir}/drm-tizen