From e9383fdce463e820cda736d84f3559651b76684f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Sun, 25 Dec 2011 21:40:10 +0800 Subject: [PATCH] on linux we still have to link against libdl. sigh. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index e35c186..3ba4b56 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ all: mockeagain.so %.so: %.c + $(CC) -g -Wall -Werror -fPIC -shared $< -o $@ -ldl || \ $(CC) -g -Wall -Werror -fPIC -shared $< -o $@ clean: