Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
libcli
libcli-Makefile-lib64.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcli-Makefile-lib64.diff of Package libcli
diff --git a/Makefile b/Makefile index 3062635..4639be8 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ TESTS ?= 1 UNAME = $(shell sh -c 'uname -s 2>/dev/null || echo not') DESTDIR = +LIBDIR = /usr/lib PREFIX = /usr/local MAJOR = 1 @@ -64,14 +65,14 @@ clean: rm -f *.o $(LIB)* $(LIB_STATIC) clitest install: $(TARGET_LIBS) - install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib + install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(LIBDIR) install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include ifeq (1,$(STATIC_LIB)) - install -m 0644 $(LIB_STATIC) $(DESTDIR)$(PREFIX)/lib + install -m 0644 $(LIB_STATIC) $(DESTDIR)$(LIBDIR) endif ifeq (1,$(DYNAMIC_LIB)) - install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib - cd $(DESTDIR)$(PREFIX)/lib && \ + install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(LIBDIR) + cd $(DESTDIR)$(LIBDIR) && \ ln -fs $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \ ln -fs $(LIB).$(MAJOR).$(MINOR) $(LIB) endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor