2840f5bc26
Fix build without static libcrypt.a OBS-URL: https://build.opensuse.org/request/show/74732 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=127
23 lines
543 B
Diff
23 lines
543 B
Diff
Index: src/Makefile
|
|
===================================================================
|
|
--- src/Makefile.orig
|
|
+++ src/Makefile
|
|
@@ -70,7 +70,7 @@ MANDIR = /usr/share/man
|
|
ifeq ($(WITH_SELINUX),yes)
|
|
SELINUX_DEF = -DWITH_SELINUX
|
|
INITLIBS += -lsepol -lselinux
|
|
- SULOGINLIBS = -lselinux
|
|
+ SULOGINLIBS = -lselinux
|
|
else
|
|
SELINUX_DEF =
|
|
INITLIBS =
|
|
@@ -78,7 +78,7 @@ else
|
|
endif
|
|
|
|
# Additional libs for GNU libc.
|
|
-ifneq ($(wildcard /usr/lib*/libcrypt.a),)
|
|
+ifneq ($(wildcard /usr/lib*/libcrypt.so),)
|
|
SULOGINLIBS += -lcrypt
|
|
endif
|
|
|