irssi: Fix OpenSSL without deprecated APIs compilation
authorRosen Penev <rosenp@gmail.com>
Sat, 16 Feb 2019 01:08:36 +0000 (17:08 -0800)
committertripolar <tripolar@users.noreply.github.com>
Sat, 16 Feb 2019 23:18:34 +0000 (00:18 +0100)
commitcd6cba1f81cfd0eca9e110573baa403ce22a1a21
treeb0b035692cdc100a27ac3343bbeda150bff0ff64
parent274ce493eb4baacf9748ed795e22b178611c92d4
irssi: Fix OpenSSL without deprecated APIs compilation

When OpenSSL is built without deprecated APIs, pkg-config first tries
OpenSSL in the staging directory but fails as it cannot find the
deprecated SSL_library_init function and ends up finding the system one.

Added PKG_BUILD_PARALLEL for faster compilation.

Added -Wl,--gc-sections to LDFLAGS to save ~10KB from the resulting ipk.

Reworked configure section as some of those options were renamed or
removed.

Removed EXTRA_* hacks that are no longer necessary.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/irssi/Makefile
net/irssi/patches/010-Fix-finding-OpenSSL-when-1.1-with-deprecated-APIs-di.patch [new file with mode: 0644]