Skip to content

Commit bf0e2ba

Browse files
authored
fix compilation (#6096)
1 parent d86ae33 commit bf0e2ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ode/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ space := $(null) $(null)
1717
WEBOTS_HOME_PATH?=$(subst $(space),\ ,$(strip $(subst \,/,$(WEBOTS_HOME))))
1818
include $(WEBOTS_HOME_PATH)/resources/Makefile.os.include
1919

20-
TARGET_LIB_DIR=$(WEBOTS_LIB_PATH)
2120
ifeq ($(OSTYPE),darwin)
2221
INSTALL_NAME = @rpath/Contents/lib/webots/libode.dylib
2322
endif
@@ -33,6 +32,8 @@ endif
3332

3433
ifeq ($(MAKECMDGOALS),profile)
3534
STATIC_LIBRARY = true
35+
else
36+
TARGET_LIB_DIR=$(WEBOTS_LIB_PATH)
3637
endif
3738

3839
FILES_TO_REMOVE = $(MAIN_TARGET_COPY) libode.a ode.a

0 commit comments

Comments
 (0)