Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 24, 2023
1 parent c17e6a0 commit 1cee37f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions build-all-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ cd capstone/build

make OPT=opt install

strings capstone/build/lib/libcapstone.a | grep GLIBC

cd ../../

make OPT=opt install
2 changes: 1 addition & 1 deletion metamod/Config.mak
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MODNAME = metamod
#__METAMOD_BUILD__ for our special eiface.h
EXTRA_CFLAGS += -D__METAMOD_BUILD__
EXTRA_CFLAGS += -DPLATFORM_POSIX
EXTRA_LINK += -ldl
EXTRA_LINK2 += -ldl
#-DMETA_PERFMON

SRCFILES = api_hook.cpp api_info.cpp commands_meta.cpp conf_meta.cpp \
Expand Down
2 changes: 1 addition & 1 deletion metamod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ $(STLOBJ): CFLAGS += -Wno-error

# linux .so compile commands
DO_CC_LINUX=$(CC) $(CFLAGS) -fPIC $(INCLUDEDIRS) -o $@ -c $< $(FILTER)
LINK_LINUX=$(CC) $(CFLAGS) -o $@ -shared -static-libgcc -lm $(EXTRA_LINK) $(OBJ_LINUX)
LINK_LINUX=$(CC) $(CFLAGS) -o $@ -shared -static-libgcc $(EXTRA_LINK) $(OBJ_LINUX) -lm $(EXTRA_LINK2)

# sort by date
#SRCFILES := $(shell ls -t $(SRCFILES))
Expand Down

0 comments on commit 1cee37f

Please sign in to comment.