Skip to content

Commit c8f046f

Browse files
authored
Merge pull request ocaml#13282 from shym/libtool-strip
Use the `strip` command detected by libtool
2 parents 9167dd1 + 0d57f1a commit c8f046f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Makefile.config.in

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ MKLIB=@mklib@
184184

185185
NATIVECCLIBS=@cclibs@
186186
SYSTHREAD_SUPPORT=@systhread_support@
187+
STRIP=@STRIP@
187188
PACKLD=@PACKLD@$(EMPTY)
188189
CCOMPTYPE=@ccomptype@
189190
TOOLCHAIN=@toolchain@

stdlib/Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ endif
9696
.INTERMEDIATE: tmpheader.exe
9797
tmpheader.exe: $(HEADERPROGRAM).$(O)
9898
$(V_MKEXE)$(call MKEXE_VIA_CC,$@,$^)
99-
# FIXME This is wrong - mingw could invoke strip; MSVC equivalent?
100-
ifneq "$(UNIX_OR_WIN32)" "win32"
101-
strip $@
102-
endif
99+
$(STRIP) $@
103100

104101
stdlib.cma: $(OBJS)
105102
$(V_LINKC)$(CAMLC) -a -o $@ $^

0 commit comments

Comments
 (0)