Skip to content

Commit dd1d056

Browse files
committed
Move surrogates.c to deepbindless_surrogates.c
1 parent 1e5c63b commit dd1d056

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include $(LBT_ROOT)/src/Make.inc
55
all: $(builddir)/libblastrampoline.$(SHLIB_EXT)
66

77
# Objects we'll build
8-
MAIN_OBJS := libblastrampoline.o dl_utils.o config.o autodetection.o threading.o surrogates.o trampolines/trampolines_$(ARCH).o
8+
MAIN_OBJS := libblastrampoline.o dl_utils.o config.o autodetection.o threading.o deepbindless_surrogates.o trampolines/trampolines_$(ARCH).o
99

1010
# Include win_utils.c on windws
1111
ifeq ($(OS),WINNT)
File renamed without changes.

src/libblastrampoline_internal.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ int32_t autodetect_interface(void * handle, const char * suffix);
9595
int autodetect_f2c(void * handle, const char * suffix);
9696
#endif
9797

98-
// Functions in surrogates.c
98+
#ifdef LBT_DEEPBINDLESS
99+
// Functions in deepbindless_surrogates.c
99100
void push_fake_lsame();
100101
void pop_fake_lsame();
101102
int fake_lsame(char * ca, char * cb);
103+
#endif

0 commit comments

Comments
 (0)