Skip to content

Commit

Permalink
Fix Windows build problems
Browse files Browse the repository at this point in the history
Signed-off-by: Keith W. Campbell <[email protected]>
  • Loading branch information
keithc-ca committed May 24, 2019
1 parent 577e37f commit 87afc37
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ddr/lib/ddr-scanner/pdb/PdbScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ PdbScanner::startScan(OMRPortLibrary *portLibrary, Symbol_IR *ir, vector<string>
}

if (DDR_RC_OK == rc) {
rc = loadBlacklist(blacklistPath);
rc = loadBlacklist(portLibrary, blacklistPath);
}

if (DDR_RC_OK == rc) {
Expand Down
7 changes: 6 additions & 1 deletion ddr/tools/blob_reader/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2017, 2017 IBM Corp. and others
# Copyright (c) 2017, 2019 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -32,4 +32,9 @@ target_link_libraries(omr_blob_reader
omr_ddr_macros
omr_ddr_scanner
omrutil
${OMR_PORT_LIB}
)

if(OMRPORT_OMRSIG_SUPPORT)
target_link_libraries(omr_blob_reader omrsig)
endif()
4 changes: 4 additions & 0 deletions ddr/tools/blob_reader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ OBJECTS = \

MODULE_STATIC_LIBS += omrstatic

ifeq (win,$(OMR_HOST_OS))
MODULE_SHARED_LIBS += ws2_32 shell32 Iphlpapi psapi pdh
endif

ifeq (1,$(OMRPORT_OMRSIG_SUPPORT))
MODULE_SHARED_LIBS += omrsig
endif
Expand Down

0 comments on commit 87afc37

Please sign in to comment.