From 99fbd72e22e7c7f284af77d89ccc954080fd3732 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 17 Jul 2013 03:40:56 +0200 Subject: [PATCH] libSystem currently depends on libsocket (for htonl()) --- src/Makefile | 1 + src/project.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Makefile b/src/Makefile index 919f01f..4e31600 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,6 +7,7 @@ CPPFLAGSF= -I ../include CPPFLAGS= CFLAGSF = -W -fPIC CFLAGS = -g -Wall -O2 -pedantic +LDFLAGS = AR = ar RANLIB = ranlib CCSHARED= $(CC) -shared diff --git a/src/project.conf b/src/project.conf index eb2573b..d978d4f 100644 --- a/src/project.conf +++ b/src/project.conf @@ -3,6 +3,8 @@ cppflags_force=-I ../include cppflags= cflags_force=-W -fPIC cflags=-g -Wall -O2 -pedantic +#XXX get rid of this dependency +ldflags=-lsocket dist=Makefile,token.h,python/project.conf,python/Makefile,python/libSystem.c,python/libSystem.py [libSystem]