Skip to content

Commit 1963d48

Browse files
Allow additional linker options to be passed through via command line arguments
1 parent 339f4d3 commit 1963d48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.msc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,10 +965,10 @@ LTLINK = $(LTLINK) rpcrt4.lib
965965
# set this for you. Otherwise, the linker will attempt
966966
# to deduce the binary type based on the object files.
967967
!IFDEF PLATFORM
968-
LTLINKOPTS = /NOLOGO /MACHINE:$(PLATFORM)
968+
LTLINKOPTS = $(LTLINKOPTS) /NOLOGO /MACHINE:$(PLATFORM)
969969
LTLIBOPTS = /NOLOGO /MACHINE:$(PLATFORM)
970970
!ELSE
971-
LTLINKOPTS = /NOLOGO
971+
LTLINKOPTS = $(LTLINKOPTS) /NOLOGO
972972
LTLIBOPTS = /NOLOGO
973973
!ENDIF
974974

0 commit comments

Comments
 (0)