Skip to content

Commit

Permalink
Move HOST_VENDOR check further down in the Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
krihal committed Aug 19, 2024
1 parent d662277 commit e368039
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/restconf/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ top_srcdir = @top_srcdir@
CC = @CC@
CFLAGS = @CFLAGS@
LINKAGE = @LINKAGE@

ifeq ($(HOST_VENDOR),apple)
INSTALLFLAGS =
else
INSTALLFLAGS = @INSTALLFLAGS@
endif

LDFLAGS = @LDFLAGS@

prefix = @prefix@
Expand All @@ -71,6 +64,13 @@ LIBSTATIC_SUFFIX = @LIBSTATIC_SUFFIX@
CLIXON_MAJOR = @CLIXON_VERSION_MAJOR@
CLIXON_MINOR = @CLIXON_VERSION_MINOR@

# Don't strip if running MacOS
ifeq ($(HOST_VENDOR),apple)
INSTALLFLAGS =
else
INSTALLFLAGS = -s
endif

# Use this clixon lib for linking
ifeq ($(LINKAGE),dynamic)
CLIXON_LIB = libclixon$(SH_SUFFIX).$(CLIXON_MAJOR).$(CLIXON_MINOR)
Expand Down

0 comments on commit e368039

Please sign in to comment.