Modify the systemd patch to match the correct
Makefile.

Note: This is part of the change required to
upgrade systemd to version 232.

Resolves openbmc/openbmc#932

Change-Id: Ia529e301c63938a68e1acd3eb74242c2dd92ba3d
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/common/recipes-core/systemd/systemd/0002-systemd-Make-pam-compile-shared-library.patch b/common/recipes-core/systemd/systemd/0002-systemd-Make-pam-compile-shared-library.patch
index 8746b72..977f565 100644
--- a/common/recipes-core/systemd/systemd/0002-systemd-Make-pam-compile-shared-library.patch
+++ b/common/recipes-core/systemd/systemd/0002-systemd-Make-pam-compile-shared-library.patch
@@ -23,7 +23,7 @@
  	src/shared/bus-util.h \
  	src/shared/logs-show.c \
  	src/shared/logs-show.h \
-@@ -5579,37 +5578,6 @@ tests += \
+@@ -5579,39 +5578,6 @@ tests += \
  	test-login-tables \
  	test-login-shared
  
@@ -51,8 +51,10 @@
 -pamlib_LTLIBRARIES = \
 -	pam_systemd.la
 -
+-if ENABLE_PAM_CONFIG
 -dist_pamconf_DATA = \
 -	src/login/systemd-user
+-endif
 -
 -EXTRA_DIST += \
 -	src/login/systemd-user.m4