Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
nepim
> nepim-asneeded.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nepim-asneeded.patch of Package nepim
--- src/Makefile +++ src/Makefile @@ -51,7 +51,8 @@ OPTFLAGS= -g -ggdb CFLAGS = $(WARN) $(REENT) $(DEBUG) $(OPTFLAGS) -I$(OOP_INC) $(ENABLE_DLOPEN) \ -DHAVE_IPV6_MREQ -LDFLAGS += -L$(OOP_LIB) -loop +LDFLAGS += -L$(OOP_LIB) +LIBS += -loop PLATFORM=$(shell uname) @@ -60,9 +61,9 @@ CFLAGS += -DHAVE_SUSECONDS_T -DHAVE_UCHAR_MCAST_TTL -DHAVE_INTTYPES \ -DHAVE_IP_MREQ -DHAVE_INET6_S6_UN $(SPARC64) LDFLAGS += $(SPARC64) -R$(OOP_LIB) -LDFLAGS += -lsocket -lnsl +LIBS += -lsocket -lnsl ifdef ENABLE_DLOPEN -LDFLAGS += -ldl +LIBS += -ldl endif endif @@ -71,7 +72,7 @@ -DHAVE_SIGHANDLER_T -DHAVE_IP_MREQN -DHAVE_IP_MREQ \ -DHAVE_INET6_S6_ADDR32 -DHAVE_GROUP_SOURCE_REQ ifdef ENABLE_DLOPEN -LDFLAGS += -ldl +LIBS += -ldl endif endif @@ -106,4 +107,4 @@ build: clean default $(TARGET): $(OBJ) - $(CC) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)