Projects
Eulaceura:Factory
libumem
_service:obs_scm:0001-Fix-build-problem-on-linu...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-Fix-build-problem-on-linux.patch of Package libumem
From 3b0b2cef2b58db96ab846d3d03bec8ca0a0c7762 Mon Sep 17 00:00:00 2001 From: luocheng <1264148725@qq.com> Date: Thu, 26 Nov 2020 20:33:11 +0800 Subject: [PATCH] Fix build problem on linux --- Makefile.am | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index ddcbbf8..f56d960 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,16 +1,16 @@ -lib_LTLIBRARIES = libumem.la libumem_malloc.la +lib_LTLIBRARIES = libumem.la noinst_PROGRAMS = umem_test umem_test2 umem_test3 libumem_la_LDFLAGS = -lpthread -ldl umem_test_SOURCES = umem_test.c -umem_test_LDADD = -lumem +umem_test_LDADD = $(lib_LTLIBRARIES) umem_test2_SOURCES = umem_test2.c -umem_test2_LDADD = -lumem +umem_test2_LDADD = $(lib_LTLIBRARIES) umem_test3_SOURCES = umem_test3.c -umem_test3_LDADD = -lumem -lumem_malloc +umem_test3_LDADD = $(lib_LTLIBRARIES) libumem_la_SOURCES = init_lib.c \ umem_agent_support.c \ @@ -33,10 +33,8 @@ libumem_la_SOURCES = init_lib.c \ sol_compat.h \ vmem.c \ sys/vmem.h \ - sys/vmem_impl_user.h - -libumem_malloc_la_SOURCES = malloc.c -libumem_malloc_la_LDFLAGS = -lpthread -ldl -R$(libdir) -lumem + sys/vmem_impl_user.h \ + malloc.c man3_MANS = umem_alloc.3 umem_cache_create.3 umem_debug.3 EXTRA_DIST = COPYRIGHT OPENSOLARIS.LICENSE umem.spec Doxyfile umem_test4 \ -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2