Skip to content

Commit d609147

Browse files
committed
Avoid -rpath on Windows
1 parent 924960a commit d609147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/GNUmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ check::
6565
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES="$(TOP_DIR)/base.make";\
6666
ADDITIONAL_INCLUDE_DIRS="-I$(TOP_DIR)/Headers -I$(TOP_DIR)/Source/$(GNUSTEP_TARGET_DIR)";\
6767
ADDITIONAL_LIB_DIRS="-L$(TOP_DIR)/Source/$(GNUSTEP_OBJ_DIR)";\
68-
if [ "$(GNUSTEP_TARGET_OS)" != "windows" ]; then \
68+
if [ "$(GNUSTEP_TARGET_OS)" != "windows" -a "$(GNUSTEP_TARGET_OS)" != "mingw32" ]; then \
6969
PATH="$(TOP_DIR)/Tools/$(GNUSTEP_OBJ_DIR):${PATH}";\
7070
ADDITIONAL_LDFLAGS="-Wl,-rpath,$(TOP_DIR)/Source/$(GNUSTEP_OBJ_DIR)";\
7171
LD_LIBRARY_PATH="$(TOP_DIR)/Source/$(GNUSTEP_OBJ_DIR):${LD_LIBRARY_PATH}";\

0 commit comments

Comments
 (0)