Skip to content

Commit 37dff63

Browse files
committed
Allow the _ prefix of macOS
1 parent 2a16fad commit 37dff63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ verify-global-defs: # Help: Verify prefix of globally visible definitions
8585
$(CC) $(CFLAGS) $(RL_SRC) -c
8686
# Check that global not undefined (U) definitions are prefixed
8787
# The output (grep success) signifies unprefixed global defs
88-
! nm *.o | sed 's/^ /x/' | awk '$$2 ~ /[A-TVZ]/ {print $$3}' | grep -Ev '^(acl|ini|curl)'
88+
! nm *.o | sed 's/^ /x/' | awk '$$2 ~ /[A-TVZ]/ {print $$3}' | grep -Ev '^_?(acl|ini|curl)'
8989

9090
e2e-run: $(PROGS) # Help: Invoke the library with a readline read/print loop
9191
$(PRELOAD_VAR)=`pwd`/$(SHARED_LIB) $(SET_ADD_LIB) ./rl_driver

0 commit comments

Comments
 (0)