diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-11-29 17:00:09 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-11-29 17:00:09 -0800 |
commit | c6307aa2b037359c75659758f4c4e3af666de6ae (patch) | |
tree | c4d780bba3008875f9d503f5b4a82a380f66e4d1 /common/Makefile.am | |
parent | 06f4f72e28088fe4cc915c0c2b258f1bbfef2c05 (diff) | |
download | xrdp-proprietary-c6307aa2b037359c75659758f4c4e3af666de6ae.tar.gz xrdp-proprietary-c6307aa2b037359c75659758f4c4e3af666de6ae.zip |
Use pkg-config to discover OpenSSL
All supported versions of OpenSSL have pkg-config files.
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 049e8af9..1bc5851f 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -18,6 +18,8 @@ AM_CPPFLAGS = \ -DXRDP_PID_PATH=\"${localstatedir}/run\" \ -DXRDP_LOG_PATH=\"${localstatedir}/log\" +AM_CFLAGS = $(OPENSSL_CFLAGS) + module_LTLIBRARIES = \ libcommon.la @@ -50,7 +52,6 @@ libcommon_la_SOURCES = \ $(PIXMAN_SOURCES) libcommon_la_LIBADD = \ - -lcrypto \ - -lssl \ -lpthread \ + $(OPENSSL_LIBS) \ $(DLOPEN_LIBS) |