Skip to content

Commit

Permalink
netbird: revert fix to build with musl >1.2.4
Browse files Browse the repository at this point in the history
Partially revert: 7b3d033
 - Revert: Also fixes issue of not being able to build with musl >1.2.4,
   The issue has been resolved as of March 2024. For more details, see:
   mattn/go-sqlite3#1164 (comment)

Signed-off-by: Wesley Gimenes <[email protected]>
  • Loading branch information
wehagy authored and 1715173329 committed Dec 30, 2024
1 parent e617871 commit 851386d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/netbird/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ define Package/netbird/conffiles
/etc/netbird/config.json
endef

# Workaround for musl 1.2.4 compability in mattn/go-sqlite3
# https://github.com/mattn/go-sqlite3/issues/1164
ifneq ($(CONFIG_USE_MUSL),)
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
endif

define Package/netbird/install
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d
Expand Down

0 comments on commit 851386d

Please sign in to comment.